DbContextConfiguration::ValidateOnSaveEnabled Property

Entity Framework 6.0
 

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:
property bool ValidateOnSaveEnabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean
Return to top
Show: