Share via


DbContextConfiguration.AutoDetectChangesEnabled Property

Definition

Gets or sets a value indicating whether the DetectChanges() method is called automatically by methods of DbContext and related classes. The default value is true.

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

Property Value

true if should be called automatically; otherwise, false.

Applies to