DbMemberEntry.GetValidationErrors Method ()

Entity Framework 6.0
 

Validates this property.

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

[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public ICollection<DbValidationError> GetValidationErrors()

Return Value

Type: System.Collections.Generic.ICollection<DbValidationError>

Collection of DbValidationError objects. Never null. If the entity is valid the collection will be empty.

Return to top
Show: