Otis wrote:
Only the refresher uses a connection string, and by default it reads it from the project. You can overwrite any value in the project in the refresher startup code as Suresh suggested, so I'd look in that direction.
The code generator doesn't use a connection string.
I have modified the refresher to change the projectToRefresh.ConnectionString property to a new connection string.
Although this property is changed and is persisted in the .lgp file (I can output it to the console when the refresher is run a second time), the entities do not reflect any changes. When I open the refreshed project in LLBLGEN UI and refresh the catalog, the old server name is listed in the Database connection information section.
Is there another setting which I should be modifying in the SD.LLBLGen.Pro.ApplicationCore.Project class?
Thanks,
Tommy