Partilhar via


CoreLoggerExtensions.StateChangedSensitive Método

Definição

Logs do StateChanged evento.

public static void StateChangedSensitive (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> diagnostics, Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry internalEntityEntry, Microsoft.EntityFrameworkCore.EntityState oldState, Microsoft.EntityFrameworkCore.EntityState newState);
static member StateChangedSensitive : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.EntityState * Microsoft.EntityFrameworkCore.EntityState -> unit
<Extension()>
Public Sub StateChangedSensitive (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.ChangeTracking), internalEntityEntry As InternalEntityEntry, oldState As EntityState, newState As EntityState)

Parâmetros

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

O agente diagnóstico a ser usado.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

A entrada de entidade interna.

oldState
EntityState

O estado antigo.

newState
EntityState

O novo estado.

Aplica-se a