DbValidationError Class

 

Validation error. Can be either entity or property level validation error.

Namespace:   System.Data.Entity.Validation
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Validation.DbValidationError

[SerializableAttribute]
public class DbValidationError

NameDescription
System_CAPS_pubmethodDbValidationError(String, String)

Creates an instance of DbValidationError.

NameDescription
System_CAPS_pubpropertyErrorMessage

Gets validation error message.

System_CAPS_pubpropertyPropertyName

Gets name of the invalid property.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.