DbEntityValidationException Class
Entity Framework 5.0
Exception thrown from SaveChanges when entity validation fails.
System.Object
System.Exception
System.SystemException
System.Data.DataException
System.Data.Entity.Validation.DbEntityValidationException
System.Exception
System.SystemException
System.Data.DataException
System.Data.Entity.Validation.DbEntityValidationException
Namespace: System.Data.Entity.Validation
Assembly: EntityFramework (in EntityFramework.dll)
The DbEntityValidationException type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DbEntityValidationException | Initializes a new instance of the DbEntityValidationException class. |
![]() | DbEntityValidationException(String) | Initializes a new instance of the DbEntityValidationException class. |
![]() | DbEntityValidationException(String, IEnumerable(Of DbEntityValidationResult)) | Initializes a new instance of the DbEntityValidationException class. |
![]() | DbEntityValidationException(String, Exception) | Initializes a new instance of the DbEntityValidationException class. |
![]() | DbEntityValidationException(String, IEnumerable(Of DbEntityValidationResult), Exception) | Initializes a new instance of the DbEntityValidationException class. |
| Name | Description | |
|---|---|---|
![]() | Data | (Inherited from Exception.) |
![]() | EntityValidationErrors | Returns any validation errors. |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | Message | (Inherited from Exception.) |
![]() | Source | (Inherited from Exception.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetBaseException | (Inherited from Exception.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetObjectData | Security Critical. (Inherited from Exception.) |
![]() | GetType | (Inherited from Exception.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Exception.) |
Show:

