Entity Framework Core Plus Query IncludeFilter - Paging
Paging (Include a range of related entities)
// using Z.EntityFramework.Plus; // Don't forget to include this. var ctx = new EntitiesContext(); // LOAD posts and most threading comments. var posts= ctx.Posts.IncludeFilter(x => x.Comments .OrderByDescending(y => y.ThreadingScore) .Take(10)) .ToList();