Example #1
0
 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;
 }
Example #2
0
 public SingleRowTableEditorHistoryHandler(SingleRowDbTableEditorViewModel viewModel)
 {
     this.viewModel = viewModel;
     keys           = new HashSet <string>(viewModel.TableDefinition.GroupByKeys);
     BindTableData();
 }