1 instantiation of DbConnectionPool
System.Data.OleDb (1)
System\Data\ProviderBase\DbConnectionPoolGroup.cs (1)
205
DbConnectionPool newPool = new
DbConnectionPool
(connectionFactory, this, currentIdentity);
31 references to DbConnectionPool
System.Data.OleDb (31)
OleDbConnectionFactory.cs (1)
36
protected override DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
? pool, DbConnection? owningObject)
System\Data\ProviderBase\DbConnectionFactory.cs (11)
15
private readonly List<
DbConnectionPool
> _poolsToRelease;
35
_poolsToRelease = new List<
DbConnectionPool
>();
85
internal DbConnectionInternal? CreatePooledConnection(
DbConnectionPool
pool, DbConnection? owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions? userOptions)
127
DbConnectionPool
? connectionPool;
289
private
DbConnectionPool
? GetConnectionPool(DbConnection owningObject, DbConnectionPoolGroup connectionPoolGroup)
318
DbConnectionPool
? connectionPool = connectionPoolGroup.GetConnectionPool(this);
442
DbConnectionPool
[] poolsToRelease = _poolsToRelease.ToArray();
443
foreach (
DbConnectionPool
pool in poolsToRelease)
515
internal void QueuePoolForRelease(
DbConnectionPool
pool, bool clearing)
548
protected virtual DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
? pool, DbConnection? owningConnection, DbConnectionOptions? userOptions)
553
protected abstract DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
? pool, DbConnection? owningConnection);
System\Data\ProviderBase\DbConnectionInternal.cs (1)
84
DbConnectionPool
? connectionPool = Pool;
System\Data\ProviderBase\DbConnectionInternal.Shared.cs (4)
23
private
DbConnectionPool
? _connectionPool; // the pooler that the connection came from (Pooled connections only)
244
internal
DbConnectionPool
? Pool
378
DbConnectionPool
? pool = Pool;
443
internal void MakePooledConnection(
DbConnectionPool
connectionPool)
System\Data\ProviderBase\DbConnectionPool.cs (4)
63
private readonly
DbConnectionPool
_pool;
65
internal TransactedConnectionPool(
DbConnectionPool
pool)
73
internal
DbConnectionPool
Pool
684
var
oldConnectionPool = oldConnection.Pool;
System\Data\ProviderBase\DbConnectionPoolGroup.cs (10)
32
private ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
> _poolCollection;
58
_poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
>();
129
ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
>? oldPoolCollection = null;
135
_poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
>();
144
DbConnectionPool
pool = entry.Value;
165
internal
DbConnectionPool
? GetConnectionPool(DbConnectionFactory connectionFactory)
174
DbConnectionPool
? pool = null;
205
DbConnectionPool
newPool = new DbConnectionPool(connectionFactory, this, currentIdentity);
271
var newPoolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
>();
275
DbConnectionPool
pool = entry.Value;