Skip to content

Query: Context level configuration for split query #21355

Description

@smitpatel

Just like how tracking behavior can be configured at context level.
Questions & considerations:

  • Where should it live?
  • Has to be relational specific
  • Should it be bool or enum (Tracking behavior ended up having 3rd value after years)
  • Queryable operator for AsSingleQuery.

Activity

  1. self-assigned this
    on Jun 20, 2020
  2. added this to the 5.0.0 milestone on Jun 22, 2020
  3. smitpatel commented on Jun 25, 2020

    @smitpatel
    ContributorAuthor

    DbContextOptionsBuilder.UseQuerySplittingBehavior(...)
    enum QuerySplittingBehavior
    Values - SingleQuery SplitQuery
    Add a method AsSingleQuery

  4. smitpatel commented on Jun 25, 2020

    @smitpatel
    ContributorAuthor

    Similar to Tracking, As*Query method in the query will override context level setting.

  5. added a commit that references this issue on Jun 25, 2020
    e882272
  6. added 2 commits that reference this issue on Jun 25, 2020
    17caaeb
    9e1ba7c
  7. added a commit that references this issue on Jun 26, 2020
    04e605b
  8. modified the milestones: 5.0.0, on Jul 14, 2020
  9. modified the milestones: , 5.0.0 on Nov 7, 2020
  10. 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

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions