1 instantiation of DbConnectionPool
System.Data.Odbc (1)
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionPoolGroup.cs (1)
172DbConnectionPool newPool = new DbConnectionPool(connectionFactory, this, currentIdentity, connectionPoolProviderInfo);
27 references to DbConnectionPool
System.Data.Odbc (27)
Common\System\Data\ProviderBase\DbConnectionFactory.cs (1)
18DbConnectionPool? connectionPool;
Common\System\Data\ProviderBase\DbConnectionInternal.cs (1)
87DbConnectionPool? connectionPool = Pool;
Common\System\Data\ProviderBase\DbConnectionPool.cs (1)
414var oldConnectionPool = oldConnection.Pool;
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionFactory.cs (10)
16private readonly List<DbConnectionPool> _poolsToRelease; 32_poolsToRelease = new List<DbConnectionPool>(); 95internal DbConnectionInternal? CreatePooledConnection(DbConnectionPool pool, DbConnection? owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions? userOptions) 138private DbConnectionPool? GetConnectionPool(DbConnection owningObject, DbConnectionPoolGroup connectionPoolGroup) 167DbConnectionPool? connectionPool = connectionPoolGroup.GetConnectionPool(this); 258DbConnectionPool[] poolsToRelease = _poolsToRelease.ToArray(); 259foreach (DbConnectionPool pool in poolsToRelease) 328internal void QueuePoolForRelease(DbConnectionPool pool, bool clearing) 360protected virtual DbConnectionInternal? CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool? pool, DbConnection? owningConnection, DbConnectionOptions? userOptions) 385protected abstract DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool? pool, DbConnection? owningConnection);
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionInternal.cs (3)
24private DbConnectionPool? _connectionPool; // the pooler that the connection came from (Pooled connections only) 126internal DbConnectionPool? Pool 276internal void MakePooledConnection(DbConnectionPool connectionPool)
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionPoolGroup.cs (10)
33private ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool> _poolCollection; 58_poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); 105ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>? oldPoolCollection = null; 111_poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); 120DbConnectionPool pool = entry.Value; 133internal DbConnectionPool? GetConnectionPool(DbConnectionFactory connectionFactory) 141DbConnectionPool? pool = null; 172DbConnectionPool newPool = new DbConnectionPool(connectionFactory, this, currentIdentity, connectionPoolProviderInfo); 237var newPoolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity, DbConnectionPool>(); 241DbConnectionPool pool = entry.Value;
System\Data\Odbc\OdbcConnectionFactory.cs (1)
30protected override DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo, DbConnectionPool? pool, DbConnection? owningObject)