Пример #1
0
 public RowChangeEditAction(IObservableDataTable observable, DataRow row)
     : base(observable, "Change row")
 {
     RowData = DataTable.Columns
               .OfType <DataColumn>()
               .Select(c => row[c, DataRowVersion.Current])
               .ToArray();
 }
Пример #2
0
 protected RowAction(IObservableDataTable observable, string name)
     : base(name)
 {
     DataTable = observable;
 }
Пример #3
0
 public RowDeleteEditAction(IObservableDataTable observable, DataRow row)
     : base(observable, "Delete row")
 {
     RowData = (object[])row.ItemArray.Clone();
 }
Пример #4
0
 public RowAddEditAction(IObservableDataTable observable)
     : base(observable, "Add row")
 {
 }
Пример #5
0
 public RowAddEditAction(IObservableDataTable observable)
     : base(observable, "Add row") { }
Пример #6
0
 protected RowAction(IObservableDataTable observable, string name)
     : base(name)
 {
     DataTable = observable;
 }
Пример #7
0
 public RowChangeEditAction(IObservableDataTable observable, DataRow row)
     : base(observable, "Change row")
 {
     RowData = DataTable.Columns
                        .OfType<DataColumn>()
                        .Select(c => row[c, DataRowVersion.Current])
                        .ToArray();
 }
Пример #8
0
 public RowDeleteEditAction(IObservableDataTable observable, DataRow row)
     : base(observable, "Delete row")
 {
     RowData = (object[])row.ItemArray.Clone();
 }