2 writes to _connection
System.Data.OleDb (2)
23 references to _connection
System.Data.OleDb (23)
OleDbCommand.cs (23)
189return _connection;
193OleDbConnection? connection = _connection;
211OleDbConnection? connection = _connection;
382throw ODB.NoProviderSupportForParameters(_connection!.Provider, null);
519Debug.Assert(null != _connection, "no connection, CloseInternal");
564Debug.Assert(null != _connection, "no connection, CloseInternalParameters");
665dataReader = new OleDbDataReader(_connection!, this, 0, this.commandBehavior);
695_connection!.AddWeakReference(dataReader, OleDbReferenceCollection.DataReaderTag);
724nextResultsFailure = OleDbDataReader.NextResults(multipleResults, _connection!, this, out _recordsAffected);
834if ((0 == (CommandBehavior.SingleResult & this.commandBehavior)) && _connection!.SupportMultipleResults())
893if (_connection!.SupportIRow(this))
915Exception? e = OleDbConnection.ProcessResults(hr, _connection);
986using (IOpenRowsetWrapper iopenRowset = _connection!.IOpenRowset())
1114Debug.Assert(null != _connection, "ExpandStoredProcedureToText: null Connection");
1117if (0 == (ODB.DBPROPVAL_SQL_ODBC_MINIMUM & _connection.SqlSupport()))
1131Debug.Assert(null != _connection, "InitializeCommand: null OleDbConnection");
1232Exception? e = OleDbConnection.ProcessResults(hr, _connection);
1276Debug.Assert(_connection != null);
1284OleDbConnection connection = _connection;
1363if (null == _connection)
1367_connection.CheckStateOpen(method);
1374if (_connection.HasLiveReader(this))
1385_transaction = _connection!.ValidateTransaction(Transaction, method);