Freigeben über


UpdatingIdentityResolutionInterceptor(Boolean, Boolean) Konstruktor

Definition

Erstellt eine neue instance des Interceptors.

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)

Parameter

preserveModifiedValues
Boolean

Wenn true, werden Werte für Eigenschaften, die im aktuellen instance als geändert markiert sind, nicht durch Werte aus dem neuen instance aktualisiert.

updateOriginalValues
Boolean

Wenn true, werden sowohl die aktuellen als auch die ursprünglichen Werte der aktuellen instance auf aktuelle Werte aus dem neuen instance aktualisiert.

Gilt für: