The ValidationContext type exposes the following members.

Methods

  NameDescription
AddErrorOverloaded.
GetAttributeValue
Gets the value of the named attribute on the target Entity.

Properties

  NameDescription
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.

See Also