TCriteria.FetchEager Method
Configures the specified association path to be fetched eagerly along with the main query.
Remarks
Nested associations can be specified using dot notation. Overrides the default lazy-loading behavior for the specified association.
Syntax
Unit: Aurelius.Criteria.Base
function TCriteria.FetchEager(FullPath: string): TCriteria;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| FullPath | string | The dot-notation path to the association to fetch eagerly (e.g., 'Customer' or 'Customer.Orders'). |
Returns
The current criteria instance to allow method chaining.