Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

System.Data.Entity.Validation Namespace

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

The System.Data.Entity.Validation namespace contains classes that are used to validate the contents of entity instances.

Public classDbEntityValidationExceptionException thrown from SaveChanges() when validating entities fails.
Public classDbEntityValidationResultRepresents validation results for single entity.
Public classDbUnexpectedValidationExceptionException thrown from GetValidationErrors() when an exception is thrown from the validation code.
Public classDbValidationErrorValidation error. Can be either entity or property level validation error.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.