© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
4 replies
nox7

[EF Core/LINQ] Paginated Eager-Loaded One-to-Many

I can't seem to find (maybe my Googling is bad) the proper way - if it's possible - to limit the returns of an eager-loaded one-to-many collection.
var form = DbContext.Forms
  .Find(1)
  .Include(form => form.Submission);
var form = DbContext.Forms
  .Find(1)
  .Include(form => form.Submission);

In my case a form could have millions of them - is it possible to limit the data fetched via .Include()? Similar to how Take() and Skip() work on the main query?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ EF Core LINQ - Many to Many Search with && and ||
C#CC# / help
3y ago
❔ EF Core duplicating many-to-many?
C#CC# / help
4y ago
❔ EF Core LINQ translation document
C#CC# / help
3y ago
❔ EF Core many-to-many migration problems
C#CC# / help
3y ago