Enum EagerLoadMode
Selects how the collections declared with LoadWith are loaded. The mode belongs to the whole
builder: an explicit value applies to every declared collection, including those declared before it,
while Default inherits the current choice.
public enum EagerLoadMode
- Extension Methods
Fields
Auto = 4Automatic strategy selection. Resolved once during preparation by the conservative E1 rule, which selects SplitQuery for every supported load; it never silently reinterprets a per-parent top-N or correlated request.
Correlated per-parent loading. Recognized but not supported in this release: a query that resolves to this mode is rejected with NotSupportedException before any SQL is generated or cached. The value is reserved for the correlated/per-parent top-N work tracked separately.
Default = 0No explicit choice: inherit the builder's current mode, defaulting to split loading.
SingleQuery = 2Single-query loading: one denormalized
LEFT JOINcommand stitched in memory.SplitQuery = 1Split loading (the default): the parent command plus one chunked child query per collection.