Sprache

UpdatingIdentityResolutionInterceptor(Boolean, Boolean) Konstruktor

Definition

Erstellt eine neue Instanz 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 in der aktuellen Instanz als geändert gekennzeichnet sind, nicht durch Werte aus der neuen Instanz aktualisiert.

updateOriginalValues
Boolean

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

Gilt für: