The ValidationContext type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddError | Overloaded. |
![]() | GetAttributeValue |
Gets the value of the named attribute on the target Entity.
|
Properties
Name | Description | |
---|---|---|
![]() | Entity |
The Entity being validated.
|
![]() | TargetName |
Gets the target name.
|
![]() | TargetValue |
Gets the target value.
|
![]() | TargetValueIsDefault |
Gets a value indicating whether TargetValue is the default
value for its type.
|
![]() | UnitOfWork |
The current IUnitOfWork if one exists; otherwise null.
|