Table of Contents

TCriteriaResult Class

Represents a single row of results returned by a projected criteria query.

Remarks

TCriteriaResult is returned by TCriteria.ListValues and TCriteria.UniqueValue when a projection has been set via TCriteria.Select. Each instance holds the projected values for one result row and supports access both by zero-based index and by property name.

Syntax

Unit: Aurelius.Criteria.Base

TCriteriaResult = class(TObject);

Methods

Name Description
HasProp Returns True if this result row contains a property with the specified name.

Properties

Name Description
Count Returns the number of projected columns in this result row.
PropNames[Index] Returns the name of the projected property at the given zero-based index.
Values[Index] Gets or sets the projected value at the given zero-based column index.
Values[PropName] Gets or sets the projected value with the given property or alias name.