13 references to OpenConnectionRequired
System.Data (13)
fx\src\data\System\Data\Odbc\OdbcCommand.cs (1)
862
throw ADP.
OpenConnectionRequired
(methodName, state);
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (1)
134
throw ADP.
OpenConnectionRequired
(ADP.DeriveParameters, state);
fx\src\data\System\Data\Odbc\OdbcConnection.cs (2)
287
throw ADP.
OpenConnectionRequired
(method, state); // MDAC 68323
564
throw ADP.
OpenConnectionRequired
(method, state);
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (1)
124
throw ADP.
OpenConnectionRequired
(ADP.DeriveParameters, state);
fx\src\data\System\Data\OleDb\OleDbConnection.cs (1)
340
throw ADP.
OpenConnectionRequired
(method, state);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
2085
exception = ADP.
OpenConnectionRequired
("CheckAndRaiseNotification", _connection.State);
2113
throw ADP.
OpenConnectionRequired
(SQL.WriteToServer, _connection.State);
fx\src\data\System\Data\SqlClient\SqlCommand.cs (4)
4822
throw ADP.
OpenConnectionRequired
(method, ConnectionState.Closed);
4825
throw ADP.
OpenConnectionRequired
(method, ConnectionState.Broken);
4829
throw ADP.
OpenConnectionRequired
(method, ConnectionState.Closed);
4832
throw ADP.
OpenConnectionRequired
(method, ConnectionState.Broken);
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1816
throw ADP.
OpenConnectionRequired
(method, innerConnection.State);