TFetchMode Enumeration
Specifies how associated objects are loaded when a criteria query is executed.
Remarks
Default defers to the fetch strategy defined in the entity mapping.
Eager forces the association to be loaded in the same query via a JOIN, overriding the mapped strategy. The fetch mode is set per association using TCriteria.CreateAlias or TCriteria.FetchEager.
Syntax
Unit: Aurelius.Criteria.Base
Members
| Name | Value | Description |
|---|---|---|
| Default | 0 | Uses the fetch strategy defined in the entity mapping for this association. |
| Eager | 1 | Forces the association to be loaded eagerly in the same query using a JOIN. |