UniqueConstraintAttribute.CheckBeforeSave property
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Gets or sets a value indicating whether constraint should be checked before save, default true.
public bool CheckBeforeSave { get; set; }
Property Value
true
if [check before save]; otherwise, false
.