public void selectTableUsingAPI(ListViewItem listViewItem) { topTableName = listViewItem.SubItems[1].Text.ToString(); if (checkDockDocument(topTableName)) //이미 존재할경우 { return; } DockRecordList dockRecordList = new DockRecordList(this, useAPI); topDockRecordList = dockRecordList; dockRecordList.setTitle(topTableName); List <ColumnInformation> columnInformationList = esentManager.getColumn(topTableName); columnInformationList.Sort(compareColumn); dockRecordList.setColumn(columnInformationList); esentManager.getData(topTableName, columnInformationList); }
public void selectTableRecovery(string tableNumber) { Table table = edbParserManager.getTable(Int32.Parse(tableNumber)); topTableName = table.getTableName(); if (checkDockDocument(topTableName)) //이미 존재할경우 { return; } DockRecordList dockRecordList = new DockRecordList(this, useAPI); topDockRecordList = dockRecordList; dockRecordList.setTitle(table.getTableName()); List <Column> columnList = table.getColumnList(); dockRecordList.setColumn(columnList); edbParserManager.parseRecord(table, false); }