共用方式為


CoreLoggerExtensions.StartedTracking 方法

定義

StartedTracking事件的記錄。

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

參數

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

要使用的診斷記錄器。

internalEntityEntry
Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry

內部實體專案。

適用於