3 writes to _state
System.Data (3)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (3)
476
_state
= State.Initializing;
503
_state
= State.Running;
1761
_state
= State.ShuttingDown;
10 references to _state
System.Data (10)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (10)
537
if (State.Running !=
_state
) // SQL BU DT 364595 - don't allow connection create when not running.
561
get { return State.Running ==
_state
; }
818
Debug.Assert(oldConnectionPool.
_state
== State.ShuttingDown, "Old connections pool should be shutting down");
896
Debug.Assert (
_state
== State.Running ||
_state
== State.ShuttingDown );
906
if (
_state
== State.ShuttingDown )
1186
if (
_state
!= State.Running) {
1517
if (State.Running ==
_state
) {
1673
if (
_state
== State.Running && obj.CanBePooled) {
1683
if (State.Running ==
_state
) {