Table of Contents

Interface ICriterion

Namespace
YndigoBlue.Velocity.Interfaces
Assembly
YndigoBlue.Velocity.dll

Defines a filtering condition used in WHERE clauses and query filters.

public interface ICriterion

Remarks

Criteria represent individual conditions that filter query results, such as "column = value" or "column IN (subquery)". Each criterion specifies a select item (typically a column), a comparison operator, and comparison values (as parameters). Multiple criteria can be combined with boolean operators to form complex filters.

Properties

DataType

Gets the data type of the comparison values.

OperatorType

Gets the comparison operator type (equals, less than, IN, etc.).

ParameterNames

Gets the names of parameters used for comparison values.

SelectItem

Gets the select item (column or expression) being filtered.