Microsoft.EntityFrameworkCore.ChangeTracking Microsoft.EntityFrameworkCore.ChangeTracking Namespace

Classes

Provides access to change tracking information and operations for entity instances the context is tracking. Instances of this class are typically obtained from ChangeTracker and it is not designed to be directly constructed in your application code.

Provides access to change tracking and loading information for a collection navigation property that associates this entity to a collection of another entities.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

Provides access to change tracking and loading information for a collection navigation property that associates this entity to a collection of another entities.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

Provides access to change tracking information and operations for a given entity.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

Provides access to change tracking information and operations for a given entity.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

Provides access to change tracking information and operations for a node in a graph of entities that is being traversed.

LocalView<TEntity>(Of TEntity)

A collection that stays in sync with entities of a given type being tracked by a DbContext. Call Local to obtain a local view.

This local view will stay in sync as entities are added or removed from the context. Likewise, entities added to or removed from the local view will automatically be added to or removed from the context.

Adding an entity to this collection will cause it to be tracked in the Added state by the context unless it is already being tracked.

Removing an entity from this collection will cause it to be marked as Deleted, unless it was previously in the Added state, in which case it will be detached from the context.

The collection implements , , and such that notifications are generated when an entity starts being tracked by the context or is marked as Deleted or Detached.

Provides access to change tracking information and operations for a given property or navigation property.

Scalar properties use the derived class PropertyEntry, reference navigation properties use the derived class ReferenceEntry, and collection navigation properties use the derived class CollectionEntry.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

Provides access to change tracking and loading information for a navigation property that associates this entity to one or more other entities.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

Extends and adds an explicit implementation of .

The method is implemented to return an implementation that stays in sync with the ObservableCollection.

This class can be used to implement navigation properties on entities for use in Windows Forms data binding. For WPF data binding use an ObservableCollection rather than an instance of this class.

A hash set that implements the interfaces required for Entity Framework to use notification based change tracking for a collection navigation property.

Extends ObservableHashSet<T> and adds an explicit implementation of .

The method is implemented to return an implementation that stays in sync with the ObservableHashSet.

This class can be used to implement navigation properties on entities for use in Windows Forms data binding. For WPF data binding use an ObservableHashSet rather than an instance of this class.

Provides access to change tracking information and operations for a given property.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

PropertyEntry<TEntity, TProperty>(Of TEntity, TProperty)

Provides access to change tracking information and operations for a given property.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

A collection of all property values for an entity.

Objects of this type can be obtained from CurrentValues, OriginalValues, GetDatabaseValues(), or GetDatabaseValuesAsync(CancellationToken). Once obtained, the objects are usually used in various combinations to resolve optimitisic concurrency exceptions signalled by the throwing of a DbUpdateConcurrencyException.

Provides access to change tracking and loading information for a reference (i.e. non-collection) navigation property that associates this entity to another entity.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.

ReferenceEntry<TEntity, TProperty>(Of TEntity, TProperty)

Provides access to change tracking and loading information for a reference (i.e. non-collection) navigation property that associates this entity to another entity.

Instances of this class are returned from methods when using the ChangeTracker API and it is not designed to be directly constructed in your application code.