Table of Contents

Enum QuerySplittingBehavior

Namespace
Microsoft.EntityFrameworkCore
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

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

public enum 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.