Interface IInternalEntityEntryNotifier
- 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
InternalEntityEntryduplicateEntry
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
InternalEntityEntryproperty
IPropertykeys
IEnumerable<IKey>foreignKeys
IEnumerable<IForeignKey>oldValue
objectnewValue
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
InternalEntityEntrynavigationBase
INavigationBaseadded
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
InternalEntityEntrynavigation
INavigationoldValue
objectnewValue
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
InternalEntityEntryproperty
IPropertyBasesetModified
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
InternalEntityEntryproperty
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
InternalEntityEntryoldState
EntityStatefromQuery
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
InternalEntityEntrynewState
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