14 references to State
System.Data (14)
fx\src\data\System\Data\ProviderBase\DbConnectionPool.cs (14)
434
private
State
_state;
476
_state=
State
.Initializing;
503
_state =
State
.Running;
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) {
1761
_state =
State
.ShuttingDown;