I have developed an ASP.Net web application that uses dotConnect for MySQL v.6.50.214 and Framework 3.5.
I have a problem with my domain model.
I have two different Db (e.g. the first is called FirstDB,the second SecondDb).
When i create my domain model(using the FirstDb db), i have a .xml file which mapped all table, business object and view.
Now, if i want to change my connection string (in the Web.config) to use the SecondDb db without re-deploy my application,i have a problem; in the mapping file there is however the name FirstDb (then work on this) as like:
Code: Select all
So, can i have in my xml file the second db name, as :
Code: Select all
Can you suggest me any idea?
Thanks in advance