The ValidateUniqueAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ValidateUniqueAttribute | Overloaded. |
Properties
Name | Description | |
---|---|---|
![]() | IncludeDeleted |
Gets or sets whether to include soft-deleted items in the uniqueness check.
|
![]() | Message |
Allows a custom error message to be specified. Use {0} as a placeholder
for the name of the attribute being validated.
(Inherited from ValidationAttribute.) |
![]() | ValidationRule |
Gets the validation rule.
(Overrides ValidationAttribute..::.ValidationRule.) |