2 writes to _connection
System.Data.Odbc (2)
System\Data\Odbc\OdbcCommand.cs (2)
123_connection = null; 254_connection = value;
15 references to _connection
System.Data.Odbc (15)
System\Data\Odbc\OdbcCommand.cs (15)
120if (null != _connection) 122_connection.RemoveWeakReference(this); 245return _connection; 249if (value != _connection) 408_cmdWrapper = new CMDWrapper(_connection!); 410Debug.Assert(null != _connection, "GetStatementHandle without connection?"); 411_connection.AddWeakReference(this, OdbcReferenceCollection.CommandTag); 502_connection?.RemoveWeakReference(this); 672_connection!.HandleError(stmt, retcode); 728_connection!.HandleError(stmt, retcode); 802_connection!.HandleError(stmt, retcode); 884if (0 != (ConnectionState.Fetching & _connection!.InternalState)) 904_connection.HandleError(stmt, retcode); 955if (null == _connection) 959_transaction = _connection.SetStateExecuting(method, Transaction);