Jazyk

UpdatingIdentityResolutionInterceptor Třída

Definice

A IIdentityResolutionInterceptor , která kopíruje hodnoty vlastností z nové instance entity do sledované instance entity.

public class UpdatingIdentityResolutionInterceptor : Microsoft.EntityFrameworkCore.Diagnostics.IIdentityResolutionInterceptor
type UpdatingIdentityResolutionInterceptor = class
    interface IIdentityResolutionInterceptor
    interface IInterceptor
Public Class UpdatingIdentityResolutionInterceptor
Implements IIdentityResolutionInterceptor
Dědičnost
UpdatingIdentityResolutionInterceptor
Implementuje

Konstruktory

Název Description
UpdatingIdentityResolutionInterceptor(Boolean, Boolean)

Vytvoří novou instanci průsečíku.

Metody

Název Description
UpdateTrackedInstance(IdentityResolutionInterceptionData, EntityEntry, Object)

Volá se DbContext , když se pokusí sledovat novou instanci entity se stejnou hodnotou primárního klíče jako již sledovaný instance. Tato implementace zkopíruje hodnoty vlastností z nové instance entity do sledované instance entity.

Platí pro