11 references to _owningObject
System.Data (11)
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (11)
82
bool flag = (!_connectionIsDoomed && !_cannotBePooled && !
_owningObject
.IsAlive);
272
bool value = !IsTxRootWaitingForTxEnd && (_pooledCount < 1) && !
_owningObject
.IsAlive;
294
return
_owningObject
.Target;
460
_owningObject
.Target = null;
559
else if (-1 == _pooledCount && !
_owningObject
.IsAlive) {
632
_owningObject
.Target = owningObject;
708
if (null !=
_owningObject
.Target) {
712
else if (
_owningObject
.Target != expectedOwner) {
723
_owningObject
.Target = null; // NOTE: doing this and checking for InternalError.PooledObjectHasOwner degrades the close by 2%
743
if (null !=
_owningObject
.Target) {
746
_owningObject
.Target = newOwner;