Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ObjectContextOptions.UseLegacyPreserveChangesBehavior Property

.NET Framework 4.6 and 4.5

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)

member UseLegacyPreserveChangesBehavior : bool with get, set

Property Value

Type: System.Boolean
true if the legacy PreserveChanges behavior should be used; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft