DbEntityEntry<TEntity>::GetValidationResult Method

Entity Framework 5.0

Validates this DbEntityEntry<TEntity> instance and returns validation result.

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

public:
DbEntityValidationResult^ GetValidationResult()

Return Value

Type: System.Data.Entity.Validation::DbEntityValidationResult
Entity validation result. Possibly null if ValidateEntity(DbEntityEntry, IDictionary<Object, Object>) method is overriden.
Show: