Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ValidateOnSaveEnabled Property

DbContextConfiguration.ValidateOnSaveEnabled Property


Gets or sets a value indicating whether tracked entities should be validated automatically when SaveChanges is invoked. The default value is true.

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

public bool ValidateOnSaveEnabled { get; set; }

Property Value

Type: System.Boolean
Return to top
© 2015 Microsoft