public void AddResultBatch(ResultBatch batch) { _ResultBatches.Add(batch); if (_CurrentBatch == null && _CurrentBatchIndex == -1) { _CurrentBatchIndex = 0; _CurrentBatch = _ResultBatches[_CurrentBatchIndex]; } }
public override bool NextResult( ) { if (++_CurrentBatchIndex < _ResultBatches.Count) { _CurrentBatch = _ResultBatches[_CurrentBatchIndex]; _CurrentRowIndex = -1; return(true); } return(false); }