Last post Sep 26, 2008 03:24 PM by carenski
Sep 25, 2008 04:44 PM|carenski|LINK
I am trying to see if it is possible to create an EDM model that can map to multiple
datasources? Most of the samples I saw are connecting to one database (one connection
string in app.config). Is it even possible to do that?
I am aware that EF has conceptual, mapping and store set of files. My question here is
could I have multiple store to map in one conceptual model (the EDM)?
Sep 26, 2008 02:35 AM|gilfink|LINK
Currently, you can't have multiple store to map in one conceptual model.
Every EDM is connected only to one database but you can include more then one EDM in your solution.
In such case you can map to multiple data sources in your code (but you'll have more then one EDM).
Sep 26, 2008 03:24 PM|carenski|LINK
Thank you very much. This helps a lot.