QuerySplittingBehavior Enum
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
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. |
See EF Core split queries for more information and examples.
Product | Versions |
---|---|
Entity Framework Core | 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: