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