How to implement table-per-concrete-type using entity framework

Posted by SDReyes on Stack Overflow See other posts from Stack Overflow or by SDReyes
Published on 2010-03-15T16:50:32Z Indexed on 2010/03/15 16:59 UTC
Read the original article Hit count: 166

Filed under:
|
|
|
|

Hello Guys!

I'm mapping a set of tables that share a common set of fields:

alt text

So as you can see I'm using a table-per-concrete-type strategy to map the inheritance.

But...

I have not could to relate them to an abstract type containing these common properties.

It's possible to do it using EF?


BONUS: The only non documented Entity Data Model Mapping Scenario is Table-per-concrete-type inheritance http://msdn.microsoft.com/en-us/library/cc716779.aspx : P

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about .NET