Udostępnij przez


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

IgnoringIdentityResolutionInterceptor()

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

Metody

UpdateTrackedInstance(IdentityResolutionInterceptionData, EntityEntry, Object)

Wywoływana podczas DbContext próby śledzenia nowego wystąpienia 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