Share via


UpdatingIdentityResolutionInterceptor Class

Definition

A IIdentityResolutionInterceptor that copies property values from the new entity instance into the tracked entity instance.

public class UpdatingIdentityResolutionInterceptor : Microsoft.EntityFrameworkCore.Diagnostics.IIdentityResolutionInterceptor
type UpdatingIdentityResolutionInterceptor = class
    interface IIdentityResolutionInterceptor
    interface IInterceptor
Public Class UpdatingIdentityResolutionInterceptor
Implements IIdentityResolutionInterceptor
Inheritance
UpdatingIdentityResolutionInterceptor
Implements

Constructors

UpdatingIdentityResolutionInterceptor(Boolean, Boolean)

Creates a new instance of the interceptor.

Methods

UpdateTrackedInstance(IdentityResolutionInterceptionData, EntityEntry, Object)

Called when a DbContext attempts to track a new instance of an entity with the same primary key value as an already tracked instance. This implementation copies property values from the new entity instance into the tracked entity instance.

Applies to