Enum CheckOperatorType
- Namespace
- YndigoBlue.Velocity.Enums
- Assembly
- YndigoBlue.Velocity.dll
Specifies the operators that can be used within check constraint expressions.
public enum CheckOperatorType
Fields
Equals = 1Equality comparison operator (=).
NotEquals = 2Inequality comparison operator (!= or <>).
LessThan = 3Less than comparison operator (<).
GreaterThan = 4Greater than comparison operator (>).
LessThanOrEqualTo = 5Less than or equal to comparison operator (<=).
GreaterThanOrEqualTo = 6Greater than or equal to comparison operator (>=).
Like = 7Pattern matching operator for string comparisons (LIKE).
Between = 8Range check operator to test if a value falls within a range (BETWEEN).
In = 9Set membership operator to test if a value exists in a list (IN).
NotIn = 10Negated set membership operator (NOT IN).
IsNull = 11Null check operator to test if a value is NULL (IS NULL).
IsNotNull = 12Non-null check operator to test if a value is not NULL (IS NOT NULL).
Add = 13Addition arithmetic operator (+).
Subtract = 14Subtraction arithmetic operator (-).
Multiply = 15Multiplication arithmetic operator (*).
Divide = 16Division arithmetic operator (/).
OpenBracket = 17Opening parenthesis for grouping expressions.
CloseBracket = 18Closing parenthesis for grouping expressions.
And = 19Logical AND operator for combining conditions.
Or = 20Logical OR operator for combining conditions.
ListSeparator = 21Comma separator for list items in IN clauses.
Not = 22Logical NOT operator for negating conditions.
Remarks
Check constraint operators include comparison operators, logical operators, arithmetic operators, and structural elements like brackets. These operators are combined with values and column references to create validation rules.