Table of Contents

Enum ConstraintType

Namespace
YndigoBlue.Velocity.Enums
Assembly
YndigoBlue.Velocity.dll

Specifies the type of database constraint.

public enum ConstraintType

Fields

PrimaryKey = 1

Primary key constraint that uniquely identifies each row in a table.

ForeignKey = 2

Foreign key constraint that establishes a relationship between tables.

Unique = 3

Unique constraint that ensures all values in a column or set of columns are distinct.

Check = 4

Check constraint that validates data based on a boolean expression.

Default = 5

Default 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.