ObjectContextOptions.UseLegacyPreserveChangesBehavior 屬性

定義

取得或設定一個布林值,決定是否使用舊有的 PreserveChanges 行為。

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

屬性值

true是否應使用舊有的 PreserveChanges 行為;否則,。 false

適用於