Overwriting multiple catalog names

Posts   
 
    
siegemos
User
Posts: 47
Joined: 25-Jun-2007
# Posted on: 09-Nov-2007 16:22:00   

I have an LLBLGen project consisting of multiple catalogs but when my projects use that DAL, it always needs to point to the same database. Currently, I implement this by having multiple sqlServerCatalogNameOverwrites


    <sqlServerCatalogNameOverwrites>
        <add key="Catalog1" value="AppDB"/>
        <add key="Catalog2" value="AppDB"/>
        <add key="Catalog3" value="AppDB"/>
        <add key="Catalog4" value="AppDB"/>
        <add key="Catalog5" value="AppDB"/>
    </sqlServerCatalogNameOverwrites>

The problem is, this list is now becoming quite long... is there a way of overwriting all catalog names at once, to the same thing?

Thanks.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39908
Joined: 17-Aug-2003
# Posted on: 09-Nov-2007 20:40:33   

This means you have a lot of catalogs in your llblgen pro project, correct?

You can force a name, it's available in adapter only. Please see: Using the generated code -> DataAccessAdapter functionality -> Catalog Specific persistence info

Frans Bouma | Lead developer LLBLGen Pro