3 writes to _pooledCount
System.Data (3)
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (3)
633_pooledCount = -1; 722_pooledCount++; 747_pooledCount--;
13 references to _pooledCount
System.Data (13)
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (13)
272bool value = !IsTxRootWaitingForTxEnd && (_pooledCount < 1) && !_owningObject.IsAlive; 279Debug.Assert(_pooledCount <= 1 && _pooledCount >= -1, "Pooled count for object is invalid"); 280return (_pooledCount == 1); 543if (1 == _pooledCount) { 559else if (-1 == _pooledCount && !_owningObject.IsAlive) { 715if (0 != _pooledCount) { 720Bid.PoolerTrace("<prov.DbConnectionInternal.PrePush|RES|CPOOL> %d#, Preparing to push into pool, owning connection %d#, pooledCount=%d\n", ObjectID, 0, _pooledCount); 750Bid.PoolerTrace("<prov.DbConnectionInternal.PostPop|RES|CPOOL> %d#, Preparing to pop from pool, owning connection %d#, pooledCount=%d\n", ObjectID, 0, _pooledCount); 754if (0 != _pooledCount) { 758else if (-1 != _pooledCount) { 795Bid.Trace("<prov.DbConnectionInternal.DetachTransaction|RES|CPOOL> %d#, Transaction Completed. (pooledCount=%d)\n", ObjectID, _pooledCount); 830Bid.Trace("<prov.DbConnectionInternal.TransactionCompletedEvent|RES|CPOOL> %d#, Transaction Completed. (pooledCount=%d)\n", ObjectID, _pooledCount);