Programmatic way to change catalog name?

Posts   
 
    
Posts: 48
Joined: 14-Oct-2008
# Posted on: 03-Jan-2009 16:36:32   

I'm aware of the configSection to enable Catalog Name Overwrites, and it works great. But this means that when I publish my application to different web servers that run the same application but point to different databases, I have go to every server and change the values in the relevant configSection.

I would prefer a programmatic way to do this, similar to setting the DbHelper.ActualConnectionString (which I currently do as well.)

Is there programmatic access to the Catalog Name Overwrites dictionary??

-mdb

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 04-Jan-2009 18:59:27   

Hi mdb,

Catalog name overwrites is available on Adapter TemplateSet. You should use ActualConnectionString setting.

David Elizondo | LLBLGen Support Team
Posts: 48
Joined: 14-Oct-2008
# Posted on: 04-Jan-2009 20:54:33   

daelmo wrote:

Hi mdb,

Catalog name overwrites is available on Adapter TemplateSet. You should use ActualConnectionString setting.

I'm using Self-Servicing w/ SQL Server. That's ok, though, I think I've found a better way.

-mdb