Monday, April 23, 2012

HOw can I access two database in single .edmx file?

I have created mvc3 application.



I have one .edmx already created which is based on Db1 but now
I have created a view which is based on Database2 and I need to use this view inside my project.



For that I need to update my EF .edmx file.
but when I right click and select option Update model from Database
i'm only getting all tables , view ,sps fromDb1` its obvious
But as i need to use view which is from
Database2how can i add it into my model.edmx` file?
please help.





No comments:

Post a Comment