Share via


UpdatingIdentityResolutionInterceptor(Boolean, Boolean) Constructor

Definition

Creates a new instance of the interceptor.

public UpdatingIdentityResolutionInterceptor (bool preserveModifiedValues = false, bool updateOriginalValues = false);
new Microsoft.EntityFrameworkCore.Diagnostics.UpdatingIdentityResolutionInterceptor : bool * bool -> Microsoft.EntityFrameworkCore.Diagnostics.UpdatingIdentityResolutionInterceptor
Public Sub New (Optional preserveModifiedValues As Boolean = false, Optional updateOriginalValues As Boolean = false)

Parameters

preserveModifiedValues
Boolean

If true, then values for properties marked as modified in the current instance will not be updated by values from the new instance.

updateOriginalValues
Boolean

If true, then both current and original values of the current instance are updated to current values from the new instance.

Applies to