/// <summary>
 /// makes a change in 'raktmennyiseg' table, modify a record
 /// by the original indexer and original stripping
 /// the indexer mustn't changes!
 /// </summary>
 /// <param name="row">the content of record with new parameters</param>
 /// <param name="oldStripping">the old stripping of the record</param>
 public void setModifyRecProdQuantity(ProductStrippingPart row, string oldStripping)
 {
     try
     {
         modelQuantities = new ProductsModelStrippingTable(dbci, parent);
         modelQuantities.modifyProdQuantityRecord(row, oldStripping, userId);
     }
     catch (Exception e)
     {
         errorHandle(e.Message);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// makes a change in 'raktmennyiseg' table, modify a record
 /// by the original indexer and original stripping
 /// the indexer mustn't changes!
 /// </summary>
 /// <param name="row">the content of record with new parameters</param>
 /// <param name="oldStripping">the old stripping of the record</param>
 public void setModifyRecProdQuantity(ProductStrippingPart row, string oldStripping)
 {
     try
     {
         modelQuantities = new ProductsModelStrippingTable(dbci, parentMain);
         modelQuantities.modifyProdQuantityRecord(row, oldStripping, userId);
     }
     catch (ErrorServiceUpdateRecord e)
     {
         throw new ErrorServiceProd(e.Message);
     }
 }