Dil

IgnoringIdentityResolutionInterceptor Sınıf

Tanım

IIdentityResolutionInterceptor Yeni örneği yoksayan ve mevcut izlenen örnekteki özellik değerlerini koruyan bir.

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

Oluşturucular

Veri Akışı Adı Description
IgnoringIdentityResolutionInterceptor()

IIdentityResolutionInterceptor Yeni örneği yoksayan ve mevcut izlenen örnekteki özellik değerlerini koruyan bir.

Yöntemler

Veri Akışı Adı Description
UpdateTrackedInstance(IdentityResolutionInterceptionData, EntityEntry, Object)

Önceden izlenen bir DbContext örnekle aynı birincil anahtar değerine sahip bir varlığın yeni örneğini izlemeye çalıştığında çağrılır. Bu uygulama, mevcut izlenen örnekteki özellik değerlerinin korunması gibi hiçbir şey yapmaz.

Şunlara uygulanır