DbMemberEntry<TEntity, TProperty>.GetValidationErrors Method

Entity Framework 5.0

Validates this property.

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

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.
Show: