AutoDetectChangesEnabled Property

DbContextConfiguration.AutoDetectChangesEnabled Property

 

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
Show:
© 2016 Microsoft