18 references to Closed
Microsoft.Data.Analysis (1)
Extensions.cs (1)
26
if (connection.State == ConnectionState.
Closed
)
System.Data.Common (4)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
338
case (ConnectionState.
Closed
):
System\Data\Common\DbDataAdapter.cs (3)
1471
connectionStates[index] = ConnectionState.
Closed
; // required, open may throw
1811
if ((null != connection) && (ConnectionState.
Closed
== originalState))
1826
if (ConnectionState.
Closed
== originalState)
System.Data.Odbc (13)
src\libraries\Common\src\System\Data\Common\AdapterUtil.cs (1)
338
case (ConnectionState.
Closed
):
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionClosed.cs (3)
54
private DbConnectionClosedBusy() : base(ConnectionState.
Closed
)
119
private DbConnectionClosedNeverOpened() : base(ConnectionState.
Closed
, false, true)
130
private DbConnectionClosedPreviouslyOpened() : base(ConnectionState.
Closed
, true, true)
src\libraries\Common\src\System\Data\ProviderBase\DbConnectionInternal.cs (2)
15
internal static readonly StateChangeEventArgs StateChangeClosed = new StateChangeEventArgs(ConnectionState.Open, ConnectionState.
Closed
);
16
internal static readonly StateChangeEventArgs StateChangeOpen = new StateChangeEventArgs(ConnectionState.
Closed
, ConnectionState.Open);
System\Data\Odbc\OdbcCommand.cs (4)
490
return (ConnectionState.
Closed
== _cmdState);
526
_cmdState = ConnectionState.
Closed
;
835
if (ConnectionState.
Closed
!= _cmdState)
837
_cmdState = ConnectionState.
Closed
;
System\Data\Odbc\OdbcConnectionHelper.cs (3)
222
if ((originalState != currentState) && (ConnectionState.
Closed
== currentState))
228
if (ConnectionState.
Closed
== originalState && ConnectionState.Open == currentState)
232
else if (ConnectionState.Open == originalState && ConnectionState.
Closed
== currentState)