API

AsSplitQuery

Requests split relational queries for included collections; evaluate consistency and round trips.

Formal Syntax & Structure

csharp syntaxcsharp
db.Categories.Include(c => c.Books).AsSplitQuery()

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.db.Categories.Include(c => c.Books).AsSplitQuery()
C# & .NET Reference