public RowChangeEditAction(IObservableDataTable observable, DataRow row) : base(observable, "Change row") { RowData = DataTable.Columns .OfType <DataColumn>() .Select(c => row[c, DataRowVersion.Current]) .ToArray(); }
protected RowAction(IObservableDataTable observable, string name) : base(name) { DataTable = observable; }
public RowDeleteEditAction(IObservableDataTable observable, DataRow row) : base(observable, "Delete row") { RowData = (object[])row.ItemArray.Clone(); }
public RowAddEditAction(IObservableDataTable observable) : base(observable, "Add row") { }
public RowChangeEditAction(IObservableDataTable observable, DataRow row) : base(observable, "Change row") { RowData = DataTable.Columns .OfType<DataColumn>() .Select(c => row[c, DataRowVersion.Current]) .ToArray(); }