次の方法で共有


CoreLoggerExtensions.StateChanged メソッド

定義

イベントの StateChanged ログ。

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)

パラメーター

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

使用する診断 ロガー。

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

内部エンティティ エントリ。

oldState
EntityState

古い値。

newState
EntityState

新しい値。

適用対象