8 references to Count
System.Data (8)
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
480
if (0 == pool.
Count
) {
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (5)
540
int totalObjects =
Count
;
636
while(
Count
> MinPoolSize) { // While above MinPoolSize...
1313
if (
Count
>= MaxPoolSize && 0 != MaxPoolSize) {
1803
if ((oldConnection != null) || (
Count
< MaxPoolSize) || (0 == MaxPoolSize)) {
1808
if ((oldConnection != null) || (
Count
& 0x1) == 0x1 || !ReclaimEmancipatedObjects())
fx\src\data\System\Data\ProviderBase\DbConnectionPoolGroup.cs (1)
267
if ((!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.