public SuppliersRowChangeEvent(SuppliersRow row, System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddSuppliersRow(SuppliersRow row) { this.Rows.Add(row); }
public void RemoveSuppliersRow(SuppliersRow row) { this.Rows.Remove(row); }
public void RemoveSuppliersRow(SuppliersRow row) { this.Rows.Remove(row); }
public SuppliersRowChangeEvent(SuppliersRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddSuppliersRow(SuppliersRow row) { this.Rows.Add(row); }
public ProductsRow AddProductsRow(string ProductName, SuppliersRow parentSuppliersRowByFK_Products_Suppliers, CategoriesRow parentCategoriesRowByFK_Products_Categories, string QuantityPerUnit, decimal UnitPrice, short UnitsInStock, short UnitsOnOrder, short ReorderLevel, bool Discontinued) { ProductsRow rowProductsRow = ((ProductsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, ProductName, null, null, QuantityPerUnit, UnitPrice, UnitsInStock, UnitsOnOrder, ReorderLevel, Discontinued}; if ((parentSuppliersRowByFK_Products_Suppliers != null)) { columnValuesArray[2] = parentSuppliersRowByFK_Products_Suppliers[0]; } if ((parentCategoriesRowByFK_Products_Categories != null)) { columnValuesArray[3] = parentCategoriesRowByFK_Products_Categories[0]; } rowProductsRow.ItemArray = columnValuesArray; this.Rows.Add(rowProductsRow); return rowProductsRow; }
public ProductsRow AddProductsRow(string ProductName, SuppliersRow parentSuppliersRowBySuppliersProducts, CategoriesRow parentCategoriesRowByCategoriesProducts, string QuantityPerUnit, decimal UnitPrice, short UnitsInStock, short UnitsOnOrder, short ReorderLevel, bool Discontinued) { ProductsRow rowProductsRow = ((ProductsRow)(this.NewRow())); rowProductsRow.ItemArray = new object[] { null, ProductName, parentSuppliersRowBySuppliersProducts[0], parentCategoriesRowByCategoriesProducts[0], QuantityPerUnit, UnitPrice, UnitsInStock, UnitsOnOrder, ReorderLevel, Discontinued}; this.Rows.Add(rowProductsRow); return rowProductsRow; }
public SuppliersRowChangeEvent(SuppliersRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public ProductsRow AddProductsRow(string ProductName, SuppliersRow _parentSuppliersRowBy_C70C25CC_5318_47C2_BAE2_3DB01283F6C0_, int CategoryID, string QuantityPerUnit, decimal UnitPrice, short UnitsInStock, short UnitsOnOrder, short ReorderLevel, bool Discontinued, bool OnSale) { ProductsRow rowProductsRow = ((ProductsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, ProductName, null, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, UnitsOnOrder, ReorderLevel, Discontinued, OnSale}; if ((_parentSuppliersRowBy_C70C25CC_5318_47C2_BAE2_3DB01283F6C0_ != null)) { columnValuesArray[2] = _parentSuppliersRowBy_C70C25CC_5318_47C2_BAE2_3DB01283F6C0_[0]; } rowProductsRow.ItemArray = columnValuesArray; this.Rows.Add(rowProductsRow); return rowProductsRow; }