Hi,
I am developing an application which have to deal with multiple databases at the same time.
For example:
I have one database called 'MasterDB' which consists of all the entities global to all the cases.
And I will have many databases like 'Case1DB', 'Case2DB' etc which are for now in the same server, if possible I would like to move some cases to different servers later. Remember Case1DB & Case2DB will be exactly with same schema.
I generated the llblgen code adding MasterDB and one of the CaseDB which are in the the same server. I used self servicing and able to get the DAL I was looking for.
Now, my problem is that, Most often I will user MasterDB but when the user wants I have to switch between the cases in run time. I cannot put all these things in app.config because I will not know when new case will come. Actually MasterDB keeps the record of every cases and connection strings and I have to use that connection string during run time.
I hope you understand my problem.
I tried overriding the catalogs but its not working.
Thanks in Advance.
regards,
Bibek Dawadi