DbCommandInterceptor
DbCommandInterceptor()
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)
net11.0
namespace Microsoft.EntityFrameworkCore.Diagnostics
{
public abstract class DbCommandInterceptor : IDbCommandInterceptor, IInterceptor
{
public virtual ValueTask<InterceptionResult<object!>> ScalarExecutingAsync(DbCommand! command, CommandEventData! eventData, InterceptionResult<object!> result, CancellationToken cancellationToken = default);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 10.011.0 |
Information specific to net11.0 | |
| Assemblies | Microsoft.EntityFrameworkCore.Relational , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.EntityFrameworkCore.Relational , Version=10.0.5.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational (11.0.0-preview.2.26159.112) net11.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API