Table of Contents

TCriteria.Select Method

Sets the projection for this criteria query, defining which columns or expressions are selected.

Remarks

When a projection is set, query results are returned as TCriteriaResult objects instead of entity instances.

Syntax

Unit: Aurelius.Criteria.Base

function TCriteria.Select(AProjection: TProjection): TCriteria;

Parameters

<-> Parameter Type Description
AProjection TProjection The projection defining the SELECT clause.

Returns

The current criteria instance to allow method chaining.

See also