database name

Posts   
 
    
tvoss avatar
tvoss
User
Posts: 192
Joined: 07-Dec-2003
# Posted on: 31-May-2005 21:27:02   

If I generate for a database ssc and send that dll to a user of my program and they name their database something other than ssc, will that cause problems if my connection string is correct to reach their database?

IOWs is the database prompt just to get the proper schema and then create the proper connection string in app.config or is there more to it.

I'd like to send out an LLBL dll created off database ssc and then let the user name their database anything they want since it will contain exactly the dll's expected structure.

I just voted...

Thanks as usual.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 31-May-2005 21:48:46   

Thanks Terry! simple_smile

If you're using selfservicing, then you don't have a problem, the catalog name is not in the persistence information which is used to generate the queries. If you're using adapter, it is. In that case, please see the documentation (using the generated code, adapter, DataAccessAdapter functionality) to overwrite the catalog name at runtime.

Frans Bouma | Lead developer LLBLGen Pro