Skip to content

DmForeignKeyAction ​

Namespace: MJCZone.DapperMatic.Models

Assembly: MJCZone.DapperMatic

Summary ​

Specifies the action to take on a foreign key constraint.

Inheritance ​

Base Class: Enum

sealed public

Contents ​

Enum Members (4)

Enum Members ​

NameValueDescription
NoAction0No action will be taken.
Cascade1Delete or update the row from the parent table and automatically delete or update the matching rows in the child table.
Restrict2Reject the delete or update operation for the parent table.
SetNull3Set the foreign key column or columns in the child table to NULL.