System.Data.Entity.Validation Namespace
The System.Data.Entity.Validation namespace contains classes that are used to validate the contents of entity instances.
Class | Description | |
---|---|---|
![]() | DbEntityValidationException | Represents an exception thrown from SaveChanges when the validation of entities 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 entity or property level validation error. |