Język

IgnoringIdentityResolutionInterceptor Klasa

Definicja

Element IIdentityResolutionInterceptor , który ignoruje nowe wystąpienie i zachowuje wartości właściwości z istniejącego śledzonego wystąpienia.

public class IgnoringIdentityResolutionInterceptor : Microsoft.EntityFrameworkCore.Diagnostics.IIdentityResolutionInterceptor
type IgnoringIdentityResolutionInterceptor = class
    interface IIdentityResolutionInterceptor
    interface IInterceptor
Public Class IgnoringIdentityResolutionInterceptor
Implements IIdentityResolutionInterceptor
Dziedziczenie
IgnoringIdentityResolutionInterceptor
Implementuje

Konstruktory

Nazwisko Opis
IgnoringIdentityResolutionInterceptor()

Element IIdentityResolutionInterceptor , który ignoruje nowe wystąpienie i zachowuje wartości właściwości z istniejącego śledzonego wystąpienia.

Metody

Nazwisko Opis
UpdateTrackedInstance(IdentityResolutionInterceptionData, EntityEntry, Object)

Wywoływana, gdy DbContext próbuje śledzić nowe wystąpienie jednostki o tej samej wartości klucza podstawowego co już śledzone wystąpienie. Ta implementacja nic nie robi, tak aby wartości właściwości z istniejącego śledzonego wystąpienia zostały zachowane.

Dotyczy