Enum ConstraintType
- Namespace
- YndigoBlue.Velocity.Enums
- Assembly
- YndigoBlue.Velocity.dll
Specifies the type of database constraint.
public enum ConstraintType
Fields
PrimaryKey = 1Primary key constraint that uniquely identifies each row in a table.
ForeignKey = 2Foreign key constraint that establishes a relationship between tables.
Unique = 3Unique constraint that ensures all values in a column or set of columns are distinct.
Check = 4Check constraint that validates data based on a boolean expression.
Default = 5Default constraint that provides a default value for a column.
Remarks
Constraints enforce data integrity rules at the database level. Velocity supports all common constraint types across multiple database systems.