Page 1 of 1

Existing .edml wtih different database in same server

Posted: Tue 20 Jan 2015 07:38
by sabbir
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.

Re: Existing .edml wtih different database in same server

Posted: Wed 21 Jan 2015 14:13
by Shalex
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.