Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
public class A
{
    public int Id;  
}

public class B : A
{
    public ICollection<Car> Cars { get; set; }
}

var result = context.Include(???).As.ToList();

Ho to select all of type B and A entities and B must have included Cars navigation property.

Thanks.

share|improve this question
See if this helps: stackoverflow.com/questions/3356541/… – saamorim 19 mins ago

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.