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; }
public void AddCompraRow(CompraRow row) { this.Rows.Add(row); }
public void RemoveCompraRow(CompraRow row) { this.Rows.Remove(row); }
public CompraRowChangeEvent(CompraRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }