ef code first - Entity Framework Projection: Materialize Additional List -
Looking at the given (simplified) object model below, give me the schedule object given to the Person , but only load the class es taking that person. I am using a projection and it works fine (excepting the EF profiler, there is a lot of complaining about joining). Now let me person. There is a new requirement to also load fineness . I expected that the comment-out code will be // FunFacts = s.Person.FunFacts, however, it is not. I can accomplish my goal by reaching the schedule.FunFacts while the context is still active. However, it creates an extra round trip to the database. Question : Can I modify my launch to return the idle without any support to the schedule.FunFacts via proxy ? Object Model (Simplified) Public category schedule {Public Entry ID (Receive; Set;} Public Person {Received} ;} Public list & lt; Class & gt; Classes {receive; set;}} Public class class {public id id (get; set;} public int name {get; set;}} public class insurance ...