<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0-preview1.25257.1" />

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.

public int Count { get; }

public bool ErrorOccurred { get; }

public int Id { get; }

public bool IsRunning { get; }

public TimeSpan LoadBalanceTimeout { get; }

public DbConnectionPoolState State { get; set; }

public bool UseLoadBalancing { get; }

public void Clear()

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)