Aracılığıyla paylaş


CoreLoggerExtensions.StateChanged Yöntem

Tanım

Olay için StateChanged günlükler.

public static void StateChanged (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 StateChanged : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.ChangeTracking> * Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry * Microsoft.EntityFrameworkCore.EntityState * Microsoft.EntityFrameworkCore.EntityState -> unit
<Extension()>
Public Sub StateChanged (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.ChangeTracking), internalEntityEntry As InternalEntityEntry, oldState As EntityState, newState As EntityState)

Parametreler

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

Kullanılacak tanılama günlükçü.

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

İç varlık girişi.

oldState
EntityState

Eski değer.

newState
EntityState

Yeni değer.

Şunlara uygulanır