DbContext.ChangeTracker Property

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Provides access to features of the context that deal with change tracking of entities.

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

Syntax

'Declaration
Public ReadOnly Property ChangeTracker As DbChangeTracker 
    Get
'Usage
Dim instance As DbContext 
Dim value As DbChangeTracker 

value = instance.ChangeTracker
public DbChangeTracker ChangeTracker { get; }
public:
property DbChangeTracker^ ChangeTracker {
    DbChangeTracker^ get ();
}
member ChangeTracker : DbChangeTracker
function get ChangeTracker () : DbChangeTracker

Property Value

Type: System.Data.Entity.Infrastructure.DbChangeTracker
An object used to access features that deal with change tracking.

See Also

Reference

DbContext Class

System.Data.Entity Namespace