Why doesn't this Include work?
问题 I am passing values into a method which uses a foreach loop to iterate through a collection. In the loop, an Include statement is used from entity framework to eager load. This is what I pass in: var exp = new Collection<Expression<Func<Foo,object>>>(); Why is it that when I use this: exp.Add(f => f.Bars.Select(b=> b.Employees.Select( e=> e.Position))); exp.Add(f => f.Bars.Select(b=> b.Employees.Select( e=> e.Bank))); and Employee, Position, and Bank all have the field Name that it will