Hi,
(using LLBLGen 4.2 - but this is an "old" feature)
the catalalogname can be overwritten in 2 ways, either by Config :
<sqlServerCatalogNameOverwrites>
<add key="OldCatalogName" value="NewCatalogName" />
</sqlServerCatalogNameOverwrites>
or by Code :
CatalogNameOverwriteHashtable overwrite = new CatalogNameOverwriteHashtable { { "OldCatalogName", "newCatalogName"} };//pass this to the DataAccessAdapter constructor
There is a subtle difference though, by using the config, you can specify "*" as oldcatalogname, meaning that the catalogname will always be the new name, whatever the old name was.
The *-notation is not possible when overwriting via code. How can this be achieved ? How can I programmatically get to know the "OldCatalogName" so I can use in in the overwrite ?