Class ChangeDetector
- 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 class ChangeDetector : IChangeDetector
- Inheritance
-
ChangeDetector
- Implements
- Inherited Members
Constructors
ChangeDetector(IDiagnosticsLogger<ChangeTracking>, ILoggingOptions)
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 ChangeDetector(IDiagnosticsLogger<DbLoggerCategory.ChangeTracking> logger, ILoggingOptions loggingOptions)
Parameters
logger
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>loggingOptions
ILoggingOptions
Methods
CaptureEvents()
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 virtual (EventHandler<DetectChangesEventArgs>? DetectingAllChanges, EventHandler<DetectedChangesEventArgs>? DetectedAllChanges, EventHandler<DetectEntityChangesEventArgs>? DetectingEntityChanges, EventHandler<DetectedEntityChangesEventArgs>? DetectedEntityChanges) CaptureEvents()
Returns
- (EventHandler<DetectChangesEventArgs> DetectingAllChanges, EventHandler<DetectedChangesEventArgs> DetectedAllChanges, EventHandler<DetectEntityChangesEventArgs> DetectingEntityChanges, EventHandler<DetectedEntityChangesEventArgs> DetectedEntityChanges)
DetectChanges(IStateManager)
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 virtual void DetectChanges(IStateManager stateManager)
Parameters
stateManager
IStateManager
DetectChanges(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.
public virtual void DetectChanges(InternalEntityEntry entry)
Parameters
entry
InternalEntityEntry
DetectNavigationChange(InternalEntityEntry, INavigationBase)
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 bool DetectNavigationChange(InternalEntityEntry entry, INavigationBase navigationBase)
Parameters
entry
InternalEntityEntrynavigationBase
INavigationBase
Returns
DetectValueChange(InternalEntityEntry, IProperty)
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 bool DetectValueChange(InternalEntityEntry entry, IProperty property)
Parameters
entry
InternalEntityEntryproperty
IProperty
Returns
OnDetectedAllChanges(IStateManager, 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.
public virtual void OnDetectedAllChanges(IStateManager stateManager, bool changesFound)
Parameters
stateManager
IStateManagerchangesFound
bool
OnDetectedEntityChanges(InternalEntityEntry, 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.
public virtual void OnDetectedEntityChanges(InternalEntityEntry internalEntityEntry, bool changesFound)
Parameters
internalEntityEntry
InternalEntityEntrychangesFound
bool
OnDetectingAllChanges(IStateManager)
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 virtual void OnDetectingAllChanges(IStateManager stateManager)
Parameters
stateManager
IStateManager
OnDetectingEntityChanges(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.
public virtual void OnDetectingEntityChanges(InternalEntityEntry internalEntityEntry)
Parameters
internalEntityEntry
InternalEntityEntry
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.
public virtual void PropertyChanged(InternalEntityEntry entry, IPropertyBase propertyBase, bool setModified)
Parameters
entry
InternalEntityEntrypropertyBase
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.
public virtual void PropertyChanging(InternalEntityEntry entry, IPropertyBase propertyBase)
Parameters
entry
InternalEntityEntrypropertyBase
IPropertyBase
ResetState()
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 virtual void ResetState()
SetEvents(EventHandler<DetectChangesEventArgs>?, EventHandler<DetectedChangesEventArgs>?, EventHandler<DetectEntityChangesEventArgs>?, EventHandler<DetectedEntityChangesEventArgs>?)
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 virtual void SetEvents(EventHandler<DetectChangesEventArgs>? detectingAllChanges, EventHandler<DetectedChangesEventArgs>? detectedAllChanges, EventHandler<DetectEntityChangesEventArgs>? detectingEntityChanges, EventHandler<DetectedEntityChangesEventArgs>? detectedEntityChanges)
Parameters
detectingAllChanges
EventHandler<DetectChangesEventArgs>detectedAllChanges
EventHandler<DetectedChangesEventArgs>detectingEntityChanges
EventHandler<DetectEntityChangesEventArgs>detectedEntityChanges
EventHandler<DetectedEntityChangesEventArgs>
Events
DetectedAllChanges
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 event EventHandler<DetectedChangesEventArgs>? DetectedAllChanges
Event Type
DetectedEntityChanges
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 event EventHandler<DetectedEntityChangesEventArgs>? DetectedEntityChanges
Event Type
DetectingAllChanges
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 event EventHandler<DetectChangesEventArgs>? DetectingAllChanges
Event Type
DetectingEntityChanges
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 event EventHandler<DetectEntityChangesEventArgs>? DetectingEntityChanges