Existing .edml wtih different database in same server

Existing .edml wtih different database in same server

Postby sabbir » Tue 20 Jan 2015 07:38

hi,
Suppose i created a .edml file with database 'x' in server 'y'.it works.if i want to connect with another database like 'x1'(identical schema as database 'x') in the same server y, what can i do without recreating the model?i think changing the database name in connection string will not work.Please let me know.
sabbir
 
Posts: 4
Joined: Tue 02 Dec 2014 09:45

Re: Existing .edml wtih different database in same server

Postby Shalex » Wed 21 Jan 2015 14:13

sabbir wrote:i think changing the database name in connection string will not work.

Open *.edml, navigate to Database Explorer, change the database name in connection properties, save the model to regenerate the code. It should be enough. If not, specify the exact problem you have encountered.
Shalex
Devart Team
 
Posts: 7530
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for MySQL