DBSpecific is database dependent?

Posts   
 
    
bigpaul
User
Posts: 3
Joined: 21-Apr-2006
# Posted on: 21-Apr-2006 08:27:55   

Are DBSpecific classes dependent on the name of the database that the classes are generated from? I generated DBSpecific library on one database and renamed the database then the library wont work because it said it cannot find the original database. BTW the app.config in the test application is pointing to the renamed database.

Any thoughts on this?

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 21-Apr-2006 08:44:33   

You may do on of the following options:

1- rename the catalog on the Designer and regenerate the code -> use the newly generated DBSpecific dll instead of the old one.

2- use the config file to overwrite the database name -> please refer to the LLBLGen Pro manual "using the generated code -> Application configuration through .config files"