private UpdataTable ( |
||
datatable | ||
Результат | void |
public override bool NextResult() { // next result set; reset everything ValidateOpen(nameof(NextResult)); if ((_tableCounter == _tables.Length - 1)) { return(false); } _currentDataTable = _tables[++_tableCounter]; if (_listener != null) { _listener.UpdataTable(_currentDataTable); // it will unsubscribe from preveous tables events and subscribe to new table's events } _schemaTable = null; _rowCounter = -1; _currentRowRemoved = false; _reachEORows = false; _schemaIsChanged = false; _started = false; ReaderIsInvalid = false; _tableCleared = false; _hasRows = (_currentDataTable.Rows.Count > 0); return(true); }
override public bool NextResult() { // next result set; reset everything ValidateOpen("NextResult"); if ((tableCounter == tables.Length - 1)) { return(false); } currentDataTable = tables[++tableCounter]; if (listener != null) { listener.UpdataTable(currentDataTable); // it will unsubscribe from preveous tables events and subscribe to new table's events } schemaTable = null; rowCounter = -1; currentRowRemoved = false; reachEORows = false; schemaIsChanged = false; started = false; ReaderIsInvalid = false; tableCleared = false; hasRows = (currentDataTable.Rows.Count > 0); return(true); }