src/Shared/EntityFramework/Infrastructure/DbEntityEntry`.cs
//TODO: cref seems to have an error in vNext that it will not resolve a reference to a protected method.
//      Restore to <see cref="DbContext.ValidateEntity(DbEntityEntry, IDictionary{object,object})" />
//      below when working.
/// <summary>
/// Validates this <see cref="DbEntityEntry{T}" /> instance and returns validation result.
/// </summary>
/// <returns>
/// Entity validation result. Possibly null if
/// DbContext.ValidateEntity(DbEntityEntry, IDictionary{object, object})
/// method is overridden.
/// </returns>
Validates this  instance and returns validation result.
Validates this instance and returns validation result .
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
        public DbEntityValidationResult GetValidationResult()
        {
            return _internalEntityEntry.InternalContext.Owner.CallValidateEntity(this);
        }
[ SuppressMessage ( " " , " " ) ] public DbEntityValidationResult GetValidationResult ( ) { return _internalEntityEntry . InternalContext . Owner . CallValidateEntity ( this ) ; }
Validates this  instance and returns validation result.
Validates this instance and returns validation result .
// need to call the method on DbContext to pickup potential validation  // customizations the user potentially implemented
Entity validation result. Possibly null if
DbContext.ValidateEntity(DbEntityEntry, IDictionary{object, object})
method is overridden.
Entity validation result . Possibly null if DbContext . ValidateEntity ( DbEntityEntry IDictionary { object object } ) method is overridden .
see
below when working.
below when working .