Change Tracker Class
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returned by the ChangeTracker method of DbContext to provide access to features of the context that are related to change tracking of entities.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="Casing is intentional")] public class DbChangeTracker
public class DbChangeTracker
type DbChangeTracker = class
Public Class DbChangeTracker
Detects changes made to the properties and relationships of POCO entities. Note that some types of entity (such as change tracking proxies and entities that derive from EntityObject) report changes automatically and a call to DetectChanges is not normally needed for these types of entities. Also note that normally DetectChanges is called automatically by many of the methods of DbContext and its related classes such that it is rare that this method will need to be called explicitly. However, it may be desirable, usually for performance reasons, to turn off this automatic calling of DetectChanges using the AutoDetectChangesEnabled flag from Configuration.
Gets DbEntityEntry objects for all the entities tracked by this context.
Gets DbEntityEntry objects for all the entities of the given type tracked by this context.
Determines whether the specified object is equal to the current object.
Serves as the default hash function.
Gets the Type of the current instance.
Returns a string that represents the current object.