DbContext.ShouldValidateEntity Method (DbEntityEntry)
Extension point allowing the user to override the default behavior of validating only added and modified entities.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- entityEntry
-
Type:
System.Data.Entity.Infrastructure.DbEntityEntry
DbEntityEntry instance that is supposed to be validated.