SqlForeignKeyAction Enumeration
Models the actions that are taken when a key to which an existing foreign key points is updated or deleted.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Enumeration SqlForeignKeyAction
public enum SqlForeignKeyAction
public enum class SqlForeignKeyAction
type SqlForeignKeyAction
public enum SqlForeignKeyAction
Members
Member name | Description | |
---|---|---|
NoAction | Specifies that no action is taken. | |
Cascade | Specifies that the changes the referencing foreign keys are also updated or deleted. | |
SetNull | Specifies that the referencing foreign keys are set to null. | |
SetDefault | Specifies that the referencing foreign keys are set to their default value. |