Existing .edml wtih different database in same server

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
sabbir
Posts: 4
Joined: Tue 02 Dec 2014 09:45

Existing .edml wtih different database in same server

Post by 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.

Shalex
Devart Team
Posts: 8072
Joined: Thu 14 Aug 2008 12:44

Re: Existing .edml wtih different database in same server

Post by 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.

Post Reply