Friday, March 16, 2007

New "Inheritance in the Entity Framework" Article

Erick Thompson has posted a brief article entitiled "Inheritance in the Entity Framework" to the ADO.NET Team blog. Topics include:

  • Why OOP?
    • Problem Modeling
    • Application Extension
  • How the Entity Framework bridges the gap
    • Table per Hierarchy
    • Table per Type
    • Table per Concrete Type

Erik provides sample Entity Data Model (CSDL conceptual schema) XML fragements for Product, DiscontinuedProduct and SeasonalProduct entity types to illustrate how to implement inheritance in ADO.NET 2.0's Entity Framework.

P.S. The Entity Framework's Persistence Ignorance issue discussed in my earlier post is raising more contoversity. Check the original post for updates.