Share via


CoreLoggerExtensions.SaveChangesCanceled Method

Definition

Logs for the SaveChangesFailed event.

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

Parameters

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Update>

The diagnostics logger to use.

context
DbContext

The context in use.

Applies to