The EntitySpaces Community

Share and learn about the EntitySpaces Architecture.
Welcome to The EntitySpaces Community Sign in | Join | Help
in
Home Forums Photos

Changing location of esUserData.xml

Last post 07-29-2008, 2:01 AM by pgeza. 2 replies.
Sort Posts: Previous Next
  •  07-28-2008, 4:24 AM 10388

    Changing location of esUserData.xml

    Hi!

     In es2008 mygeneration the metadata storing was changed. Is it possible to change the location of generated esUserData.xml.

    It would be good because we shared the mapping information with CVS and for each project we could store the mapping in its directory?

    Is it somehow possible to change the location of esUserData.xml

    Thanks,

    Géza

  •  07-28-2008, 6:42 PM 10401 in reply to 10388

    Re: Changing location of esUserData.xml

    We are transitioning into ES2009 which will not rely on MyGeneration or CodeSmith, currently it's hard coded, however, you could easily change it, but then you'd have to give everyone the modified templates. See the Custom and Generated Master templates, there is a section like this:

     

    Code:
    		EntitySpaces.MetadataEngine.Root esMeta = new EntitySpaces.MetadataEngine.Root();
    esMeta.Connect(MyMeta.DriverString, MyMeta.ConnectionString);
    esMeta.LanguageMappingFileName = @"Settings\esLanguages.xml";
    esMeta.UserMetaDataFileName = @"Settings\esUserData.xml";
    esMeta.esPlugInSettingsFileName = @"Settings\esSettings.xml";
    esMeta.Language = "C#";

    EntitySpaces | Twitter | BLOG | Please honor our Software License
  •  07-29-2008, 2:01 AM 10403 in reply to 10401

    Re: Changing location of esUserData.xml

    Thanks!

    This means we need to change the templates (custom,generated,userdata) all of our 3 PCs.

    Don't you plan to put this setting into the Settings template for example?

View as RSS news feed in XML