Ju-Yi Kuo's blog

Entity Framework Mapping Advisor (0)

As a member of the ADO.NET Entity Framework team, I couldn't wait to see the day that our v1 product gets into the hands of the developers; I also would like to provide some insight into the product.

One of the main advantages of EF is its flexible mapping layer. For an introduction, check out Mapping 101. When it comes to mapping, the entity framwork designer tool in Visual Studio does a good job in helping you specify a broad range of mapping scenarios. However, the Entity Framework runtime allows a lot more mapping flexibility than the entity designer supports currently. For advanced users, they might need to manually edit the XML mapping file in order to achieve the kind of mapping they want, because they couldn't do this through the designer tool. But it could be difficult for them to troubleshoot if they make any mapping mistake.

That's why I'm starting this mapping advisor series. These articles hopefully can help advanced users do two things:

  1. Design mapping scenarios beyond those supported by the GUI designer tool.
  2. Understand the error message better, so that they can rectify or circumvent their mapping mistakes easily.

My plan to achieve this is to first explain in some detail how the mapping layer works under the cover, and then give a few examples. So, here it goes.

Next: The Language of Mapping

 

Published Tuesday, May 20, 2008 12:45 AM by juyik

Comments

 

Hot Topics said:

Ju-Yi Kuo , from the Entity Framework team, has started a new blog with posts on mapping in the EDM with

June 13, 2008 8:16 AM
Anonymous comments are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker