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
Post a Comment