Include doesn't work with Skip/Take #4615
Labels
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
type-bug
Milestone
When i do simple include (for one-to-many relation) it works ok:
_context.MyCollection.Include(m => m.OtherItem).ToList()'
But when I also add Skip/Take to it, the Include is dropped, and reference property is null.
_context.MyCollection.Include(m => m.OtherItem).Skip(10).Take(20).ToList()'
It always worked ok, so what am I doing wrong with EF7?
Edit: I've also checked SQL query in debug mode, and it just don't use any JOINs after adding Skip/Take.
The text was updated successfully, but these errors were encountered: