1 instantiation of DbConnectionPool
System.Data (1)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (1)
193
DbConnectionPool newPool = new
DbConnectionPool
(connectionFactory, this, currentIdentity, connectionPoolProviderInfo);
46 references to DbConnectionPool
System.Data (46)
fx\src\data\System\Data\Common\System.Data_BID.cs (6)
78
if ((modFlags & System.Data.ProviderBase.
DbConnectionPool
.PoolerTracePoints) != 0 && modID != NoData)
84
if ((modFlags & System.Data.ProviderBase.
DbConnectionPool
.PoolerTracePoints) != 0 && modID != NoData)
90
if ((modFlags & System.Data.ProviderBase.
DbConnectionPool
.PoolerTracePoints) != 0 && modID != NoData)
96
if ((modFlags & System.Data.ProviderBase.
DbConnectionPool
.PoolerTracePoints) != 0 && modID != NoData)
105
if ((modFlags & System.Data.ProviderBase.
DbConnectionPool
.PoolerTracePoints) != 0 && modID != NoData)
111
if ((modFlags & System.Data.ProviderBase.
DbConnectionPool
.PoolerTracePoints) != 0 && modID != NoData) {
fx\src\data\System\Data\Odbc\OdbcConnectionFactory.cs (1)
37
override protected DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
pool, DbConnection owningObject) {
fx\src\data\System\Data\OleDb\OleDbConnectionFactory.cs (1)
37
override protected DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
pool, DbConnection owningObject) {
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (11)
21
private readonly List<
DbConnectionPool
> _poolsToRelease;
43
_poolsToRelease = new List<
DbConnectionPool
>();
141
internal DbConnectionInternal CreatePooledConnection(
DbConnectionPool
pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) {
190
DbConnectionPool
connectionPool;
336
private
DbConnectionPool
GetConnectionPool(DbConnection owningObject, DbConnectionPoolGroup connectionPoolGroup) {
365
DbConnectionPool
connectionPool = connectionPoolGroup.GetConnectionPool(this);
475
DbConnectionPool
[] poolsToRelease = _poolsToRelease.ToArray();
476
foreach (
DbConnectionPool
pool in poolsToRelease) {
541
internal void QueuePoolForRelease(
DbConnectionPool
pool, bool clearing) {
571
virtual protected DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
pool, DbConnection owningConnection, DbConnectionOptions userOptions) {
575
abstract protected DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
pool, DbConnection owningConnection);
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (9)
41
private
DbConnectionPool
_connectionPool; // the pooler that the connection came from (Pooled connections only)
154
if (Bid.IsOn(
DbConnectionPool
.PoolerTracePoints)) {
298
internal
DbConnectionPool
Pool {
434
DbConnectionPool
connectionPool = Pool;
552
DbConnectionPool
pool = Pool;
636
internal void MakePooledConnection(
DbConnectionPool
connectionPool) {
718
if (Bid.IsOn(
DbConnectionPool
.PoolerTracePoints)) {
748
if (Bid.IsOn(
DbConnectionPool
.PoolerTracePoints)) {
821
DbConnectionPool
pool = Pool;
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (4)
73
DbConnectionPool
_pool;
78
internal TransactedConnectionPool(
DbConnectionPool
pool)
94
internal
DbConnectionPool
Pool {
816
var
oldConnectionPool = oldConnection.Pool;
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (10)
37
private ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
> _poolCollection;
65
_poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
>();
126
ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
> oldPoolCollection = null;
130
_poolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
>();
137
DbConnectionPool
pool = entry.Value;
158
internal
DbConnectionPool
GetConnectionPool(DbConnectionFactory connectionFactory) {
166
DbConnectionPool
pool = null;
193
DbConnectionPool
newPool = new DbConnectionPool(connectionFactory, this, currentIdentity, connectionPoolProviderInfo);
250
var newPoolCollection = new ConcurrentDictionary<DbConnectionPoolIdentity,
DbConnectionPool
>();
253
DbConnectionPool
pool = entry.Value;
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (2)
35
override protected DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
pool, DbConnection owningConnection) {
39
override protected DbConnectionInternal CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, object poolGroupProviderInfo,
DbConnectionPool
pool, DbConnection owningConnection, DbConnectionOptions userOptions) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
138
private
DbConnectionPool
_dbConnectionPool;
330
DbConnectionPool
pool = null,