13 references to State
System.Data.Odbc (13)
Common\System\Data\ProviderBase\DbConnectionPool.cs (13)
106
private
State
_state;
146
_state =
State
.Initializing;
167
_state =
State
.Running;
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)
1129
_state =
State
.ShuttingDown;