Enum DefaultConstraintType
- Namespace
- YndigoBlue.Velocity.Enums
- Assembly
- YndigoBlue.Velocity.dll
Specifies the type of value that can be assigned as a default in a default constraint.
public enum DefaultConstraintType
Fields
Number = 1A numeric literal value (integer or decimal).
String = 2A string literal value.
Date = 3A date literal value.
DateTime = 4A datetime literal value.
Boolean = 5A boolean literal value (true/false or 1/0).
Function = 6A database function call that returns a value (e.g., GETDATE(), UUID()).
Timestamp = 7A timestamp literal value.
Null = 8An explicit NULL value.
Remarks
Default constraints specify values to be automatically inserted when a column value is not provided during an INSERT operation. The type determines how the default value is interpreted and rendered in SQL.