Skip to main content

ForeignKeyConstraintMode Enumeration

ForeignKeyConstraintMode Enumeration​

The ForeignKeyConstraintMode enumeration provides options for how the Biml compiler should emit relationships between tables relative to foreign key constraints.

Enumeration Values​

NameSummary
CreateAndCheck
Specifies that a foreign key constraint will be created and set to be checked on table changes.
CreateAndNoCheck
Specifies that a foreign key constraint will be created and but set to not check values.
DoNotCreate
Specifies that a foreign key constraint will not be created. This is used to model table relationships in Biml that are not enforced by the relational database engine for performance or other reasons.