Table of Contents

TCustomCriterion Class

Abstract base class for all criterion (restriction) types used in criteria queries.

Remarks

A criterion defines a condition that filters which entities are returned by a query - it corresponds to an expression in the WHERE or HAVING clause in SQL. Concrete subclasses cover comparisons (TSimpleExpression), logical operators (TAndExpression, TOrExpression, TNotExpression), null checks (TNullExpression, TNotNullExpression), membership tests (TInExpression), and raw SQL conditions (TSqlCriterion). Criteria are added to a TCriteria instance via its Where method.

Syntax

Unit: Aurelius.Criteria.Base

TCustomCriterion = class(TObject);

Methods

Name Description
Clone Creates a deep copy of this criterion instance.