New Posts New Posts RSS Feed: 2010 And Object Mapper
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

2010 And Object Mapper

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

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Topic: 2010 And Object Mapper
    Posted: 25-Aug-2011 at 4:53pm
A few more points on working with large models:

1)  When viewing an EDMX, the Model Browser in Visual Studio lists all of the entities and makes finding and editing them a lot easier. You can also right click on an entity in the Model Browser and select "Show in Designer" to locate it visually.

2)  As Kim mentioned, Code First is great option if you don't like editing the EDMX. However, in the next feature release of the Entity Framework, you will also be able to break a large model into multiple entity diagrams. This link has more details:

Back to Top
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 Posted: 25-Aug-2011 at 10:33am
Both DevForce Classic and DevForce 2009 have built-in support for web service-backed entities, but we didn't carry this support forward into DevForce 2010.  In DF 2010 you can use POCO entities to do this, since the "POCO Service Provider" you write is responsbile for all queries and saves.  You can read more about POCO here - http://drc.ideablade.com/xwiki/bin/view/Documentation/poco.
Back to Top
wackywhizz View Drop Down
Newbie
Newbie
Avatar

Joined: 25-Aug-2011
Location: Philippines
Posts: 8
Post Options Post Options   Quote wackywhizz Quote  Post ReplyReply Direct Link To This Post Posted: 25-Aug-2011 at 12:09am
Hi,

I'm looking for his Object Mapper as well for the sole reason that i wanted to try out the possibility (which is stated from your documents) of adding entities into our model from web services or WCF... On several occasions on the forums, it was stated that your previous customers were able to do this on the Object Mapper environment. How do I do this on DevForce 2010 with the fact that there is no more Object Mapper included on this release?
Back to Top
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 Posted: 19-Aug-2011 at 1:26pm
Although we agree that using the EDMX designer with large models is quite painful, we don't have any plans to provide a "DevForce 2010 Object Mapper" as we did with Classic.  We generally advise breaking a large model into several smaller models, as discussed here - http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-model-large.  "Code First" is another approach to dealing with large unwieldy models, and we previewed our Code First support in the 6.1.2 release. 
Back to Top
cuneytgargin View Drop Down
Newbie
Newbie
Avatar

Joined: 05-Feb-2008
Location: Turkey
Posts: 13
Post Options Post Options   Quote cuneytgargin Quote  Post ReplyReply Direct Link To This Post Posted: 19-Aug-2011 at 4:24am
Hi.. Not having a tool like Object Mapper in 2010 is giving a huge burden for developers.
If you have more than 200 tables and views and storedprocedures.. etc.. 
Each time when you add a table, EDMX is trying to draw connections in diagram...
and it's waste of time and it really uses huge memory...

Are you thinking of preparing any tool for developers with large databases ?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down