IDbCommandInterceptor
CommandCanceled(DbCommand, CommandEndEventData)
CommandCanceledAsync(DbCommand, CommandEndEventData, CancellationToken)
CommandCreated(CommandEndEventData, DbCommand)
CommandCreating(CommandCorrelatedEventData, InterceptionResult<DbCommand>)
CommandFailed(DbCommand, CommandErrorEventData)
CommandFailedAsync(DbCommand, CommandErrorEventData, CancellationToken)
CommandInitialized(CommandEndEventData, DbCommand)
DataReaderClosing(DbCommand, DataReaderClosingEventData, InterceptionResult)
DataReaderClosingAsync(DbCommand, DataReaderClosingEventData, InterceptionResult)
DataReaderDisposing(DbCommand, DataReaderDisposingEventData, InterceptionResult)
NonQueryExecuted(DbCommand, CommandExecutedEventData, Int32)
NonQueryExecutedAsync(DbCommand, CommandExecutedEventData, Int32, CancellationToken)
NonQueryExecuting(DbCommand, CommandEventData, InterceptionResult<Int32>)
NonQueryExecutingAsync(DbCommand, CommandEventData, InterceptionResult<Int32>, CancellationToken)
ReaderExecuted(DbCommand, CommandExecutedEventData, DbDataReader)
ReaderExecutedAsync(DbCommand, CommandExecutedEventData, DbDataReader, CancellationToken)
ReaderExecuting(DbCommand, CommandEventData, InterceptionResult<DbDataReader>)
ReaderExecutingAsync(DbCommand, CommandEventData, InterceptionResult<DbDataReader>, CancellationToken)
ScalarExecuted(DbCommand, CommandExecutedEventData, Object)
ScalarExecutedAsync(DbCommand, CommandExecutedEventData, Object, CancellationToken)
ScalarExecuting(DbCommand, CommandEventData, InterceptionResult<Object>)
ScalarExecutingAsync(DbCommand, CommandEventData, InterceptionResult<Object>, CancellationToken)
net10.0-windows7.0
namespace Microsoft.EntityFrameworkCore.Diagnostics
{
public interface IDbCommandInterceptor : IInterceptor
{
virtual void CommandFailed(DbCommand! command, CommandErrorEventData! eventData);
}
}
.NET | 8.09.010.0 |
---|---|
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.EntityFrameworkCore.Relational , Version=9.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.EntityFrameworkCore.Relational (9.0.3) net8.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API