Language

DbContextConfiguration.AutoDetectChangesEnabled プロパティ

定義

DbContextおよび関連クラスのメソッドによってDetectChanges() メソッドが自動的に呼び出されるかどうかを示す値を取得または設定します。 既定値は、true です。

public bool AutoDetectChangesEnabled { get; set; }
member this.AutoDetectChangesEnabled : bool with get, set
Public Property AutoDetectChangesEnabled As Boolean

プロパティ値

true 自動的に呼び出す必要がある場合。それ以外の場合は false。

適用対象