8 references to Count
System.Data (8)
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
480if (0 == pool.Count) {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (5)
540int totalObjects = Count; 636while(Count > MinPoolSize) { // While above MinPoolSize... 1313if (Count >= MaxPoolSize && 0 != MaxPoolSize) { 1803if ((oldConnection != null) || (Count < MaxPoolSize) || (0 == MaxPoolSize)) { 1808if ((oldConnection != null) || (Count & 0x1) == 0x1 || !ReclaimEmancipatedObjects())
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (1)
267if ((!pool.ErrorOccurred) && (0 == pool.Count)) {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (1)
85(null != pool && pool.Count <= 0) ) { // Non-pooled or pooled and no connections in the pool.