System.Data.Entity.Validation Namespace
Entity Framework 5.0
Contains classes that are used to validate the contents of entity instances.
| Class | Description | |
|---|---|---|
|
DbEntityValidationException | Exception thrown from SaveChanges when entity validation fails. |
|
DbEntityValidationResult | Represents validation results for single entity. |
|
DbUnexpectedValidationException | Exception thrown from GetValidationErrors when an exception is thrown from the validation code. |
|
DbValidationError | Validation error. Can be either an entity- or a property-level validation error. |
Show: