DbEntityEntry<TEntity>.GetValidationResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validates this DbEntityEntry<TEntity> instance and returns validation result.
public System.Data.Entity.Validation.DbEntityValidationResult GetValidationResult ();
[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.
- Attributes
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework