CommandInterceptorBase
CommandInterceptorBase(DbCommandMethod)
AsyncCalled
CanceledCalled
CommandId
CommandSource
CommandText
ConnectionId
Context
CreatedCalled
CreatingCalled
DataReaderClosingCalled
DataReaderDisposingCalled
Exception
ExecutedCalled
ExecutingCalled
FailedCalled
InitializedCalled
SyncCalled
AssertCanceled(DbCommand, CommandEndEventData)
AssertCreated(DbCommand, CommandEndEventData)
AssertCreating(CommandCorrelatedEventData)
AssertExecuted(DbCommand, CommandExecutedEventData)
AssertExecuting(DbCommand, CommandEventData)
AssertFailed(DbCommand, CommandErrorEventData)
AssertInitialized(DbCommand, CommandEndEventData)
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)
net9.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class CommandInterceptionTestBase : InterceptionTestBase
{
protected abstract class CommandInterceptorBase : IDbCommandInterceptor, IInterceptor
{
public bool CanceledCalled { get; set; }
}
}
}
.NET | 9.010.0 |
---|---|
Information specific to net9.0 | |
Assembly | Microsoft.EntityFrameworkCore.Relational.Specification.Tests , Version=9.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.EntityFrameworkCore.Relational.Specification.Tests (9.0.3) net9.0 |
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API