2 writes to _connection
System.Data (2)
fx\src\data\System\Data\OleDb\OleDbCommand.cs (2)
209
_connection
= value;
229
_connection
= null;
22 references to _connection
System.Data (22)
fx\src\data\System\Data\OleDb\OleDbCommand.cs (22)
201
return
_connection
;
204
OleDbConnection connection =
_connection
;
220
OleDbConnection connection =
_connection
;
371
throw ODB.NoProviderSupportForParameters(
_connection
.Provider, (Exception)null);
480
Debug.Assert(null !=
_connection
, "no connection, CloseInternal");
518
Debug.Assert(null !=
_connection
, "no connection, CloseInternalParameters");
615
dataReader = new OleDbDataReader(
_connection
, this, 0, this.commandBehavior);
643
_connection
.AddWeakReference(dataReader, OleDbReferenceCollection.DataReaderTag);
666
nextResultsFailure = OleDbDataReader.NextResults(multipleResults,
_connection
, this, out _recordsAffected);
755
if ((0 == (CommandBehavior.SingleResult & this.commandBehavior)) &&
_connection
.SupportMultipleResults()) {
810
if (
_connection
.SupportIRow(this)) {
831
Exception e = OleDbConnection.ProcessResults(hr,
_connection
, this);
910
using(IOpenRowsetWrapper iopenRowset =
_connection
.IOpenRowset()) {
1029
Debug.Assert(null !=
_connection
, "ExpandStoredProcedureToText: null Connection");
1032
if (0 == (ODB.DBPROPVAL_SQL_ODBC_MINIMUM &
_connection
.SqlSupport())) {
1046
Debug.Assert(null !=
_connection
, "InitializeCommand: null OleDbConnection");
1148
Exception e = OleDbConnection.ProcessResults(hr,
_connection
, this);
1188
OleDbConnection connection =
_connection
;
1260
if (null ==
_connection
) {
1263
_connection
.CheckStateOpen(method);
1269
if (
_connection
.HasLiveReader(this)) {
1278
_transaction =
_connection
.ValidateTransaction(Transaction, method);