How to query an Entity Framework entities container for objects of derived entity classes?

Posted by Ivan on Stack Overflow See other posts from Stack Overflow or by Ivan
Published on 2010-05-08T07:08:12Z Indexed on 2010/05/08 7:18 UTC
Read the original article Hit count: 273

I have a complex inheritance structure in my data model. A majority of classes in my model (which is designed in VS 2010 with a DB generated by it after) are derived from 3 basic classes. And only these 3 classes can be found among the context members. How do I use all the derived classes at all?

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about linq-to-entities