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)
201return _connection; 204OleDbConnection connection = _connection; 220OleDbConnection connection = _connection; 371throw ODB.NoProviderSupportForParameters(_connection.Provider, (Exception)null); 480Debug.Assert(null != _connection, "no connection, CloseInternal"); 518Debug.Assert(null != _connection, "no connection, CloseInternalParameters"); 615dataReader = new OleDbDataReader(_connection, this, 0, this.commandBehavior); 643_connection.AddWeakReference(dataReader, OleDbReferenceCollection.DataReaderTag); 666nextResultsFailure = OleDbDataReader.NextResults(multipleResults, _connection, this, out _recordsAffected); 755if ((0 == (CommandBehavior.SingleResult & this.commandBehavior)) && _connection.SupportMultipleResults()) { 810if (_connection.SupportIRow(this)) { 831Exception e = OleDbConnection.ProcessResults(hr, _connection, this); 910using(IOpenRowsetWrapper iopenRowset = _connection.IOpenRowset()) { 1029Debug.Assert(null != _connection, "ExpandStoredProcedureToText: null Connection"); 1032if (0 == (ODB.DBPROPVAL_SQL_ODBC_MINIMUM & _connection.SqlSupport())) { 1046Debug.Assert(null != _connection, "InitializeCommand: null OleDbConnection"); 1148Exception e = OleDbConnection.ProcessResults(hr, _connection, this); 1188OleDbConnection connection = _connection; 1260if (null == _connection) { 1263_connection.CheckStateOpen(method); 1269if (_connection.HasLiveReader(this)) { 1278_transaction = _connection.ValidateTransaction(Transaction, method);