Hello,
we used LLBL version (1.0.2005) for a long time.
Currently we are trying to migrate to the newest version.
Hovewer we are facing problem with catalog name overwriting in selfserving scenario.
With old version we did not had any configuration regarding this, only connection string.
As I understand, old version of self serving cleared catalog name by default.
Currently, our migrated code starts adding catalog name to the columns and tables.
The problem is that we have many environments with different databases.
I tried to use
<add key="CatalogNameUsageSetting" value="2"/>
but seems so that for self serving it has no effect.
Next thing, I tried:
<sqlServerCatalogNameOverwrites>
<add key="*" value=""/>
</sqlServerCatalogNameOverwrites>
which does not have any effect too...
If I add concrete database in sqlServerCatalogNameOverwrites configuration, like
<sqlServerCatalogNameOverwrites>
<add key="dev-db-01" value=""/>
</sqlServerCatalogNameOverwrites>
looks like it is working..
however, entities can be generated on one of many databases... (depends on developer who is generating),
so I dont want to have any database lists in config file (it can be a failure in future, when new developer machines are introduced or renamed and so on..)
It also introduces additional problem, when deploying to other environments: database name searched and replaced in config file.. so this one will be replaced too...
For me also would be fine possibility to set this from code like in adapter scenario:
adapter.CatalogNameUsageSetting = CatalogNameUsage.Clear;
However, I did not found such possibility (maybe looked to wrong place?)
So any suggestions about this?