public SingleRowFieldCellValueChangedAction(SingleRowDbTableEditorViewModel viewModel, int index, string columnName, Action <IValueHolder> undo, Action <IValueHolder> redo) { this.viewModel = viewModel; this.index = index; this.columnName = columnName; this.undo = undo; this.redo = redo; }
public SingleRowTableEditorHistoryHandler(SingleRowDbTableEditorViewModel viewModel) { this.viewModel = viewModel; keys = new HashSet <string>(viewModel.TableDefinition.GroupByKeys); BindTableData(); }