Enum CheckConstraintType
- Namespace
- YndigoBlue.Velocity.Enums
- Assembly
- YndigoBlue.Velocity.dll
Specifies the type of element that can appear in a check constraint definition.
public enum CheckConstraintType
Fields
Column = 1A column reference within the check constraint expression.
Operator = 2An operator used for comparison or logical operations in the constraint.
Number = 3A numeric literal value used in the constraint expression.
String = 4A string literal value used in the constraint expression.
Date = 5A date literal value used in the constraint expression.
DateTime = 6A datetime literal value used in the constraint expression.
Function = 7A database function call within the constraint expression.
Snippet = 8A raw SQL code snippet to be inserted into the constraint expression.
Timestamp = 9A timestamp literal value used in the constraint expression.
Remarks
Check constraints are used to limit the values that can be placed in a column. They consist of various elements including column references, operators, literals, and functions combined to form validation expressions.