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)
net11.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class ConnectionInterceptionTestBase : InterceptionTestBase
{
protected class ConnectionCreationInterceptor : IDbConnectionInterceptor, IInterceptor
{
public virtual void ConnectionDisposed(DbConnection! connection, ConnectionEndEventData! eventData);
}
}
}
| .NET | 10.011.0 |
|---|---|
Information specific to net11.0 | |
| Assemblies | Microsoft.EntityFrameworkCore.Relational.Specification.Tests , Version=10.0.5.0, PublicKeyToken=adb9793829ddae60 Microsoft.EntityFrameworkCore.Relational.Specification.Tests , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.EntityFrameworkCore.Relational.Specification.Tests (10.0.5) net10.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API