Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

System.Data.Entity.Validation Namespace

Entity Framework 5.0

Contains classes that are used to validate the contents of entity instances.

  Class Description
Public class DbEntityValidationException Exception thrown from SaveChanges() when entity validation fails.
Public class DbEntityValidationResult Represents validation results for single entity.
Public class DbUnexpectedValidationException Exception thrown from GetValidationErrors() when an exception is thrown from the validation code.
Public class DbValidationError Validation error. Can be either an entity- or a property-level validation error.
Show:
© 2015 Microsoft