Example #1
0
 public CompraLineaRow AddCompraLineaRow(string Articulo, string Costo, string Cantidad, string Subtotal, CompraRow parentCompraRowByCompra_CompraLinea, int Id) {
     CompraLineaRow rowCompraLineaRow = ((CompraLineaRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             Articulo,
             Costo,
             Cantidad,
             Subtotal,
             null,
             Id};
     if ((parentCompraRowByCompra_CompraLinea != null)) {
         columnValuesArray[4] = parentCompraRowByCompra_CompraLinea[0];
     }
     rowCompraLineaRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowCompraLineaRow);
     return rowCompraLineaRow;
 }
Example #2
0
 public void AddCompraRow(CompraRow row) {
     this.Rows.Add(row);
 }
Example #3
0
 public void RemoveCompraRow(CompraRow row) {
     this.Rows.Remove(row);
 }
Example #4
0
 public CompraRowChangeEvent(CompraRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }