Microsoft.EntityFrameworkCore.ChangeTracking Namespace
Important
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.
Classes
ArrayStructuralComparer<TElement> |
Specifies value comparison for arrays where each element pair is compared. A new array is constructed when snapshotting. |
CaseInsensitiveValueComparer |
Case-insensitive value comparison for strings. |
ChangeTracker |
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. |
CollectionEntry |
Provides access to change tracking and loading information for a collection navigation property that associates this entity to a collection of another entities. |
CollectionEntry<TEntity,TRelatedEntity> |
Provides access to change tracking and loading information for a collection navigation property that associates this entity to a collection of another entities. |
ComplexPropertyEntry |
Provides access to change tracking information and operations for a given property of a complex type. |
ComplexPropertyEntry<TEntity,TComplexProperty> |
Provides access to change tracking information and operations for a given property of a complex type. |
DetectChangesEventArgs |
Event arguments for the DetectingAllChanges event. |
DetectedChangesEventArgs |
Event arguments for the DetectedAllChanges event. |
DetectedEntityChangesEventArgs |
Event arguments for the DetectedEntityChanges event. |
DetectEntityChangesEventArgs |
Event arguments for the DetectingEntityChanges event. |
EntityEntry |
Provides access to change tracking information and operations for a given entity. |
EntityEntry<TEntity> |
Provides access to change tracking information and operations for a given entity. |
EntityEntryEventArgs |
Event arguments for events relating to tracked EntityEntrys. |
EntityEntryGraphNode |
Provides access to change tracking information and operations for a node in a graph of entities that is being traversed. |
EntityEntryGraphNode<TState> |
Provides access to change tracking information and operations for a node in a graph of entities that is being traversed. |
EntityStateChangedEventArgs |
Event arguments for the StateChanged event. |
EntityStateChangingEventArgs |
Event arguments for the StateChanging event. |
EntityTrackedEventArgs |
Event arguments for the Tracked event. |
EntityTrackingEventArgs |
Event arguments for the Tracking event. |
EntryCurrentValueComparer<TProperty> |
An implementation of IComparer<T> and IEqualityComparer<T> to compare current values contained in IUpdateEntry internal tracking entities. This type is typically used by database providers (and other extensions). It is generally not used in application code. |
GeometryValueComparer<TGeometry> |
Value snapshotting and comparison logic for NetTopologySuite.Geometries.Geometry instances. |
ListComparer<TElement> |
A ValueComparer<T> for lists of primitive items. The list can be typed as IEnumerable<T>, but can only be used with instances that implement IList<T>. |
LocalView<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. |
MemberEntry |
Provides access to change tracking information and operations for a given property or navigation property. |
NavigationEntry |
Provides access to change tracking and loading information for a navigation property that associates this entity to one or more other entities. |
NullableValueTypeListComparer<TElement> |
A ValueComparer<T> for lists of primitive items. The list can be typed as IEnumerable<T>, but can only be used with instances that implement IList<T>. |
ObjectListComparer<TElement> |
A ValueComparer<T> for lists of primitive items. The list can be typed as IEnumerable<T>, but can only be used with instances that implement IList<T>. |
ObservableCollectionListSource<T> |
Extends ObservableCollection<T> and adds an explicit implementation of IListSource. |
ObservableHashSet<T> |
A hash set that implements the interfaces required for Entity Framework to use notification based change tracking for a collection navigation property. |
PropertyEntry |
Provides access to change tracking information and operations for a given property. |
PropertyEntry<TEntity,TProperty> |
Provides access to change tracking information and operations for a given property. |
PropertyValues |
A collection of all property values for an entity. |
ReferenceEntry |
Provides access to change tracking and loading information for a reference (i.e. non-collection) navigation property that associates this entity to another entity. |
ReferenceEntry<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. |
ValueComparer |
Specifies custom value snapshotting and comparison for CLR types that cannot be compared with Equals(Object, Object) and/or need a deep/structural copy when taking a snapshot. For example, arrays of primitive types will require both if mutation is to be detected. |
ValueComparer<T> |
Specifies custom value snapshotting and comparison for CLR types that cannot be compared with Equals(Object, Object) and/or need a deep copy when taking a snapshot. For example, arrays of primitive types will require both if mutation is to be detected. |
ValueComparerExtensions |
Extension methods for ValueComparer. |
Interfaces
IDependentKeyValueFactory |
A factory for key values based on the foreign key values taken from various forms of entity data. This type is typically used by database providers (and other extensions). It is generally not used in application code. |
IDependentKeyValueFactory<TKey> |
A factory for key values based on the foreign key values taken from various forms of entity data. This type is typically used by database providers (and other extensions). It is generally not used in application code. |
IEntityEntryGraphIterator |
A service to traverse a graph of entities and perform some action on at each node. |
IPrincipalKeyValueFactory |
Represents a factory for key values based on the primary/principal key values taken from various forms of entity data. This type is typically used by database providers (and other extensions). It is generally not used in application code. |
IPrincipalKeyValueFactory<TKey> |
A factory for key values based on the primary/principal key values taken from various forms of entity data. This type is typically used by database providers (and other extensions). It is generally not used in application code. |
Enums
CascadeTiming |
Defines different strategies for when cascading actions will be performed. See CascadeDeleteTiming and DeleteOrphansTiming. |
ChangeTrackerDebugStringOptions |
Debug string customization options for tracked entities. |
LoadOptions |
Options to control the behavior of loading related entities with Load(LoadOptions). |
Entity Framework