ConnectionCreationInterceptor
ConnectionCreationInterceptor()
AsyncCalled
Connection
ConnectionId
ConnectionString
Context
CreatedCalled
CreatingCalled
DisposedCalled
DisposingCalled
StartTime
SyncCalled
AssertDisposed(ConnectionEndEventData)
AssertDisposing(ConnectionEventData)
ConnectionCreated(ConnectionCreatedEventData, DbConnection)
ConnectionCreating(ConnectionCreatingEventData, InterceptionResult<DbConnection>)
ConnectionDisposed(DbConnection, ConnectionEndEventData)
ConnectionDisposedAsync(DbConnection, ConnectionEndEventData)
ConnectionDisposing(DbConnection, ConnectionEventData, InterceptionResult)
ConnectionDisposingAsync(DbConnection, ConnectionEventData, InterceptionResult)
net10.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class ConnectionInterceptionTestBase : InterceptionTestBase
{
protected class ConnectionCreationInterceptor : IDbConnectionInterceptor, IInterceptor
{
public bool DisposedCalled { get; set; }
}
}
}
| .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 | The property getter is supported on all platforms. The property setter is supported on all platforms. |
- Built-in API
- Package-provided API