Skip to content

UniqueConstraintAttribute.DisableDefaultBehavior property

Gets or sets a value indicating whether the default UniqueConstraintSaveBehavior pre-check should be disabled for this constraint. Set to true if you want to replace the default behavior with your own.

public bool DisableDefaultBehavior { get; set; }

See Also