New Posts New Posts RSS Feed: one edmx multiple data sources?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

one edmx multiple data sources?

 Post Reply Post Reply
Author
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Topic: one edmx multiple data sources?
    Posted: 06-Dec-2008 at 2:21pm
DevForce EF is built "on top" of ADO.NET EF.  The limitation of 1 EDMX = 1 database still holds.  In DevForce, though, you can include multiple entity data models in a single DevForce "domain" model, as is shown in several of the tutorials. 
 
On the latter part of your question about shifting to a different database - I assume you mean having a single CSDL (conceptual model) with different SSDL (storage model) definitions?  That is doable, and one of the reasons why the EDMX at runtime actually consists of 3 separate resources (conceptual, storage and mapping).  DevForce doesn't do anything to help or hinder this support, and I'd recommend the ADO.NET EF forum (http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=533&SiteID=1) or other MS resources for help on the mechanics of separating the models.
Back to Top
lucence View Drop Down
Newbie
Newbie


Joined: 05-Dec-2008
Posts: 2
Post Options Post Options   Quote lucence Quote  Post ReplyReply Direct Link To This Post Posted: 06-Dec-2008 at 12:06am
currently for ADO.NET EF, we could make it support for multiple databases by adding respective edmx files.
 
but for DevForce EF, does it support 1 edmx and shift to different databases at anytime?
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down