Geeks With Blogs

News

This blog has moved to ericnelson.wordpress.com

 Subscribe in a reader

Add to Google Reader or Homepage


Links
View my teams slideshare
These postings are provided "AS IS" with no warranties, and confer no rights.



IUpdateable has moved to ericnelson.wordpress.com Please visit http://ericnelson.wordpress.com

One thing I like to get across when I talk about the ADO.NET Entity Framework is that in V1 the Designer does not support all the capabilities of the underlying Entity Data Model (EDM) – and hence you will sometimes need to “roll up your sleeves” and start editing the underlying XML files (CSDL, MSL, SSDL) that make up an EDM. There is a document which will help if you find yourself needing to do this - Entity Framework Supported Mapping Scenarios.

Summary:
This white paper enumerates the supported mapping scenarios in Entity Framework. It also mentions important design considerations for store schema in order to deal with advanced mapping scenarios.

The paper covers off a variety of mapping scenarios:

  • Simple
  • Vertical splitting
  • Horizontal splitting
  • All the associations (1-1 to *-*)
  • Abstract types
  • Inheritance (TPH, TPT, TPCC)
  • Complex types

NB: It does pre-date the final release of the Entity Framework, hence watch out for tiny changes.

Posted on Wednesday, January 21, 2009 2:53 PM .NET 3.5 , Data , LINQ , Entity Framework , ORM | Back to top


Comments on this post: Entity Framework mapping scenarios

# re: Entity Framework mapping scenarios
Requesting Gravatar...
Oh yearh. Thanhk U very much!!!
Left by cuongth on Feb 10, 2010 3:07 AM

Your comment:
 (will show your gravatar)


Copyright © Eric Nelson | Powered by: GeeksWithBlogs.net