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

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.