ResultReplacingScalarCommandInterceptor
InterceptedResult
ResultReplacingScalarCommandInterceptor()
ScalarExecuted(DbCommand, CommandExecutedEventData, Object)
ScalarExecutedAsync(DbCommand, CommandExecutedEventData, Object, CancellationToken)
net10.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class CommandInterceptionTestBase : InterceptionTestBase
{
protected class ResultReplacingScalarCommandInterceptor : CommandInterceptorBase
{
[AsyncStateMachine(typeof(<ScalarExecutedAsync>d__3))]
public override ValueTask<object> ScalarExecutedAsync(DbCommand command, CommandExecutedEventData eventData, object result, CancellationToken cancellationToken = default);
}
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.EntityFrameworkCore.Relational.Specification.Tests , Version=10.0.1.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational.Specification.Tests (10.0.1) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API