Class RequiredMetaValidator
- Namespace
- Breeze.Persistence
- Assembly
- Breeze.Persistence.dll
The required validator with options
public class RequiredMetaValidator : MetaValidator
- Inheritance
-
RequiredMetaValidator
- Inherited Members
Constructors
RequiredMetaValidator()
Create a required validator
public RequiredMetaValidator()
Fields
AllowingEmptyStrings
required that accepts an empty string, from [Required(AllowEmptyStrings = true)]
public static readonly RequiredMetaValidator AllowingEmptyStrings
Field Value
Properties
AllowEmptyStrings
Whether an empty string satisfies it; written to the metadata only when set
public bool? AllowEmptyStrings { get; set; }
Property Value
- bool?