3 writes to _state
System.Data.Odbc (3)
Common\System\Data\ProviderBase\DbConnectionPool.cs (3)
146
_state
= State.Initializing;
167
_state
= State.Running;
1129
_state
= State.ShuttingDown;
9 references to _state
System.Data.Odbc (9)
Common\System\Data\ProviderBase\DbConnectionPool.cs (9)
203
if (State.Running !=
_state
) // Don't allow connection create when not running.
229
get { return State.Running ==
_state
; }
417
Debug.Assert(oldConnectionPool.
_state
== State.ShuttingDown, "Old connections pool should be shutting down");
488
Debug.Assert(
_state
== State.Running ||
_state
== State.ShuttingDown);
498
if (
_state
== State.ShuttingDown)
680
if (
_state
!= State.Running)
928
if (State.Running ==
_state
)
1048
if (State.Running ==
_state
)