Hi HaulMark,
Ok. Here is what you should to do:
- Configure Catalog name overwriting at config file, staying "" for the new catalog name. This says that the catalog name included at connectionString should be used.
<configSections>
<section name="sqlServerCatalogNameOverwrites" type="System.Configuration.NameValueSectionHandler" />
</configSections>
<sqlServerCatalogNameOverwrites>
<add key="OldNameCatalog" value="" />
</sqlServerCatalogNameOverwrites>
- Modify the DBUtils.ActualConnectionString (including the new catalog name) where appropriate somewhere in your code.
DbUtils.ActualConnectionString = "....initial catalog=NewCatalog;....";
Please let me know if you made it.