CoreLoggerExtensions.DetectChangesStarting 方法

定义

DetectChangesStarting事件的日志。

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

参数

diagnostics
IDiagnosticsLogger<DbLoggerCategory.ChangeTracking>

要使用的诊断记录器。

context
DbContext

正在使用的上下文。

适用于