SyncSchemaForeignKeyRule Enumeration

Indicates the action that occurs when a FOREIGN KEY constraint, which is defined through a SyncSchemaForeignKeyRule object, is enforced during a delete or update operation.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

public enum SyncSchemaForeignKeyRule

Member nameDescription
CascadeDelete or update related rows. This is the default.
NoneNo action is taken on related rows.
SetDefaultSet values in related rows to the value that is contained in the DefaultValue property for each column.
SetNullSet values in related rows to DBNull.