Entity Framework eager loading with include not working

c# eager-loading entity-framework-6

Popular Answer

Identified the problem and accessed sessionUser. user is informed.

I revised my inquiry to

return Context.InvestmentSession.Include(s => s.SessionUsers.Select(su => su.User)).FirstOrDefault(i => i.Id == id && now >= i.StartDate && now < i.EndDate);
0
12/2/2017 7:23:29 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow