Skip to content

Query: reuse include pipeline for queries projecting uncomposed collection navigations #8584

Closed

Description

@maumar
ctx.Customers.Select(c => c.Orders)

currently produces N+1 queries, however, similar query:

ctx.Customers.Include(c => c.Orders)

is much better, producing only 2 queries.

We should be able to leverage the include pipeline for the first query

Activity

  1. self-assigned this
    on May 25, 2017
  2. maumar commented on May 25, 2017

    @maumar
    ContributorAuthor

    related to #8229

  3. added this to the 2.0.0 milestone on May 26, 2017
  4. added 11 commits that reference this issue on Jun 2, 2017
  5. 4 remaining items

  6. maumar commented on Jun 3, 2017

    @maumar
    ContributorAuthor

    fixed in 0075cb7

  7. modified the milestones: , 2.0.0 on Jun 3, 2017
  8. added a commit that references this issue on Jun 28, 2017
  9. added a commit that references this issue on Jul 6, 2017
  10. modified the milestones: , 2.0.0 on Oct 15, 2022
  11. added a commit that references this issue on Aug 22, 2023
  12. added a commit that references this issue on Apr 19, 2024
  13. added a commit that references this issue on Jul 7, 2024
  14. added a commit that references this issue on May 7, 2025
  15. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions