DbContextConfiguration.AutoDetectChangesEnabled Property

Entity Framework 6.0

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.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public bool AutoDetectChangesEnabled { get; set; }

Property Value

Type: System.Boolean

true if should be called automatically; otherwise, false.

Return to top