QuerySplittingBehavior Enum

Definition

Indicates how the related collections in a query should be loaded from database.

public enum QuerySplittingBehavior
type QuerySplittingBehavior = 
Public Enum QuerySplittingBehavior
Inheritance
QuerySplittingBehavior

Fields

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