ObjectContextOptions.UseLegacyPreserveChangesBehavior Property

Definition

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

public:
 property bool UseLegacyPreserveChangesBehavior { bool get(); void set(bool value); };
public bool UseLegacyPreserveChangesBehavior { get; set; }
member this.UseLegacyPreserveChangesBehavior : bool with get, set
Public Property UseLegacyPreserveChangesBehavior As Boolean

Property Value

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

Applies to