9 references to State
System.Data (9)
fx\src\data\System\Data\ProviderBase\DbConnectionClosed.cs (2)
76
throw ADP.ConnectionAlreadyOpen(
State
);
121
throw ADP.ConnectionAlreadyOpen(
State
);
fx\src\data\System\Data\ProviderBase\DbConnectionFactory.cs (1)
250
if ((oldConnection != null) && (oldConnection.
State
== ConnectionState.Open)) {
fx\src\Data\System\Data\ProviderBase\DbConnectionHelper.cs (4)
120
throw ADP.OpenConnectionPropertySet(ADP.ConnectionString, connectionInternal.
State
);
156
if (ConnectionState.Open == innerConnection.
State
) {
329
ConnectionState originalState = _innerConnection.
State
& ConnectionState.Open;
330
ConnectionState currentState = to.
State
& ConnectionState.Open;
fx\src\data\System\Data\ProviderBase\DbConnectionInternal.cs (1)
666
throw ADP.ConnectionAlreadyOpen(
State
);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1816
throw ADP.OpenConnectionRequired(method, innerConnection.
State
);