ObjectValidationOptions.CheckRequiredAttribute property
Gets or sets whether the RequiredAttributes of the properties are checked, which is the default, while their RequiredWhenAttributes always are. They are not for a row, as a required field of a row is one that is not null in the database, which is checked otherwise, and its attribute only makes a field required in the forms.
public bool CheckRequiredAttribute { get; set; }
See Also
- class ObjectValidationOptions