Problem with Eager Loading Nested Navigation Based on Abstract Entity (EF CTP5)
I a portion of my EF model that looks like this: Summary: Location has many Posts Post is an abstract class Discussion derives from Post Discussions have many Comments Now, the query i'm trying to achieve: Get information about Location Id 1234, including any Discussions and Comments associated with those Discussions. I can get discussions and the comments like this: var discussions = ctx.Posts .OfType<Discussion>() .Include(x => x.Comments) .ToList(); But i can't seem to get it based on the Posts navigation on the Location entity. I've tried this: var locationWithDiscussionsAndComments = ctx