<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0-preview2.25289.6" />

Microsoft.Data.SqlClient.ConnectionPool.ChannelDbConnectionPool

A connection pool implementation based on the channel data structure. Provides methods to manage the pool of connections, including acquiring and releasing connections.
namespace Microsoft.Data.SqlClient.ConnectionPool { internal sealed class ChannelDbConnectionPool : IDbConnectionPool { public ConcurrentDictionary<DbConnectionPoolAuthenticationContextKey, DbConnectionPoolAuthenticationContext> AuthenticationContexts { get; } public SqlConnectionFactory ConnectionFactory { get; } public int Count { get; } public bool ErrorOccurred { get; } public int Id { get; } public DbConnectionPoolIdentity Identity { get; } public bool IsRunning { get; } public TimeSpan LoadBalanceTimeout { get; } public DbConnectionPoolGroup PoolGroup { get; } public DbConnectionPoolGroupOptions PoolGroupOptions { get; } public DbConnectionPoolProviderInfo ProviderInfo { get; } public DbConnectionPoolState State { get; set; } public bool UseLoadBalancing { get; } public void Clear(); public void PutObjectFromTransactedPool(DbConnectionInternal obj); public DbConnectionInternal ReplaceConnection(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection); public void ReturnInternalConnection(DbConnectionInternal obj, object owningObject); public void Shutdown(); public void Startup(); public void TransactionEnded(Transaction transaction, DbConnectionInternal transactedObject); public bool TryGetConnection(DbConnection owningObject, TaskCompletionSource<DbConnectionInternal> taskCompletionSource, DbConnectionOptions userOptions, out DbConnectionInternal connection); public ChannelDbConnectionPool(); } }