ObjectContextOptions.UseLegacyPreserveChangesBehavior Property

.NET Framework (current version)

Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public bool UseLegacyPreserveChangesBehavior { get; set; }

Property Value

Type: System.Boolean

true if the legacy PreserveChanges behavior should be used; otherwise, false.

.NET Framework
Available since 4.0
Return to top