What is strategy for generating code for development database and moving to same structure but different named database for production?

Posts   
 
    
Posts: 8
Joined: 27-May-2011
# Posted on: 03-Jul-2011 00:36:50   

I had figured that I could switch from development database to production database simply by switching the connection string in the web.config file. However, when I do this, on the production site, I get an error indicating that it can't find an object I was trying to use in a test. Subsequently in looking at the code in the databasespecific project, I see that it puts the name of the database here that for the database that was used in generating the code. Is there a quick way to get around this problem other than regenerating all the code for both environments separately and adding those dlls to the appropriate server?

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 03-Jul-2011 23:36:32   
David Elizondo | LLBLGen Support Team