DbEntityEntry.GetValidationResult DbEntityEntry.GetValidationResult DbEntityEntry.GetValidationResult Method

Definition

Validates this DbEntityEntry instance and returns validation result.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public System.Data.Entity.Validation.DbEntityValidationResult GetValidationResult ();
member this.GetValidationResult : unit -> System.Data.Entity.Validation.DbEntityValidationResult
Public Function GetValidationResult () As DbEntityValidationResult

Returns

Entity validation result. Possibly null if DbContext.ValidateEntity(DbEntityEntry, IDictionary{object,object}) method is overridden.

Applies to