linq to entities - How can I use Include method in entity framework 4.3 for an abstract type? -


i have order class links list of orderline, abstract type.

i want issue include on 1 of sub-classes of orderline, such productorderline has product property on it:

something like:

data.orders.include(x=>x.lines).include("lines.product"); 

obviously causes failure, need way of specifying sub-types guess.

thanks

including on inheritance hierarchies not supported. can include properties base type.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -