Table of Contents

Interface IInternalEntityEntryNotifier

Namespace
Microsoft.EntityFrameworkCore.ChangeTracking.Internal
Assembly
Microsoft.EntityFrameworkCore.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public interface IInternalEntityEntryNotifier

Remarks

The service lifetime is Scoped. This means that each DbContext instance will use its own instance of this service. The implementation may depend on other services registered with any lifetime. The implementation does not need to be thread-safe.

Methods

FixupResolved(InternalEntityEntry, InternalEntityEntry)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void FixupResolved(InternalEntityEntry entry, InternalEntityEntry duplicateEntry)

Parameters

entry InternalEntityEntry
duplicateEntry InternalEntityEntry

KeyPropertyChanged(InternalEntityEntry, IProperty, IEnumerable<IKey>, IEnumerable<IForeignKey>, object?, object?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void KeyPropertyChanged(InternalEntityEntry entry, IProperty property, IEnumerable<IKey> keys, IEnumerable<IForeignKey> foreignKeys, object? oldValue, object? newValue)

Parameters

entry InternalEntityEntry
property IProperty
keys IEnumerable<IKey>
foreignKeys IEnumerable<IForeignKey>
oldValue object
newValue object

NavigationCollectionChanged(InternalEntityEntry, INavigationBase, IEnumerable<object>, IEnumerable<object>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void NavigationCollectionChanged(InternalEntityEntry entry, INavigationBase navigationBase, IEnumerable<object> added, IEnumerable<object> removed)

Parameters

entry InternalEntityEntry
navigationBase INavigationBase
added IEnumerable<object>
removed IEnumerable<object>

NavigationReferenceChanged(InternalEntityEntry, INavigation, object?, object?)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void NavigationReferenceChanged(InternalEntityEntry entry, INavigation navigation, object? oldValue, object? newValue)

Parameters

entry InternalEntityEntry
navigation INavigation
oldValue object
newValue object

PropertyChanged(InternalEntityEntry, IPropertyBase, bool)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void PropertyChanged(InternalEntityEntry entry, IPropertyBase property, bool setModified)

Parameters

entry InternalEntityEntry
property IPropertyBase
setModified bool

PropertyChanging(InternalEntityEntry, IPropertyBase)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void PropertyChanging(InternalEntityEntry entry, IPropertyBase property)

Parameters

entry InternalEntityEntry
property IPropertyBase

StateChanged(InternalEntityEntry, EntityState, bool)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void StateChanged(InternalEntityEntry entry, EntityState oldState, bool fromQuery)

Parameters

entry InternalEntityEntry
oldState EntityState
fromQuery bool

StateChanging(InternalEntityEntry, EntityState)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void StateChanging(InternalEntityEntry entry, EntityState newState)

Parameters

entry InternalEntityEntry
newState EntityState

TrackedFromQuery(InternalEntityEntry)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

void TrackedFromQuery(InternalEntityEntry entry)

Parameters

entry InternalEntityEntry