public ProductRow AddProductRow( string Name, string SmallName, decimal PriceManufact, UnitRow parentUnitRowByFK_Product_Unit, PackingRow parentPackingRowByFK_Product_Packing, StorageConditionRow parentStorageConditionRowByFK_Product_StorageCondition, SubstanceRow parentSubstanceRowByFK_Product_Substance, FarmGroupLevel2Row parentFarmGroupLevel2RowByFK_Product_FarmGroupLevel2, bool IsRecept, bool IsOneRecept, bool IsHide, short MinDivisor, bool IsNDS, int OldKol, int OldKod, string OldName, string Note, string AuthorCreate, string AuthorLastModif, System.DateTime DateLastModif, System.DateTime DateCreate, byte[] RowVersion) { ProductRow rowProductRow = ((ProductRow)(this.NewRow())); rowProductRow.ItemArray = new object[] { null, Name, SmallName, PriceManufact, parentUnitRowByFK_Product_Unit[0], parentPackingRowByFK_Product_Packing[0], parentStorageConditionRowByFK_Product_StorageCondition[0], parentSubstanceRowByFK_Product_Substance[0], parentFarmGroupLevel2RowByFK_Product_FarmGroupLevel2[0], IsRecept, IsOneRecept, IsHide, MinDivisor, IsNDS, OldKol, OldKod, OldName, Note, AuthorCreate, AuthorLastModif, DateLastModif, DateCreate, RowVersion}; this.Rows.Add(rowProductRow); return rowProductRow; }
public void RemoveSubstanceRow(SubstanceRow row) { this.Rows.Remove(row); }
public SubstanceRowChangeEvent(SubstanceRow row, System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddSubstanceRow(SubstanceRow row) { this.Rows.Add(row); }