DbValidationError Class
Entity Framework 5.0
Validation error. Can be either an entity- or a property-level validation error.
Namespace: System.Data.Entity.Validation
Assembly: EntityFramework (in EntityFramework.dll)
The DbValidationError type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ErrorMessage | Gets the validation error message. |
![]() | PropertyName | Gets the name of the invalid property. |
Show:
