QuerySplittingBehavior Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates how the related collections in a query should be loaded from database.
public enum QuerySplittingBehavior
type QuerySplittingBehavior =
Public Enum QuerySplittingBehavior
- Inheritance
-
QuerySplittingBehavior
Fields
Name | Value | Description |
---|---|---|
SingleQuery | 0 | The related collections will be loaded in same database query as parent query. |
SplitQuery | 1 | The related collections will be loaded in separate database queries from the parent query. |
Remarks
See EF Core split queries for more information and examples.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework