This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.