예제 #1
0
 public void UpdateStockDetail(int stockVal, int sId)
 {
     using (var db = new eTempleDbDB())
     {
         db.Execute("Update StockDetails set Stock = Stock - @0 where ServiceId = @1 ", stockVal, sId);
     }
 }
 public void UpdateStockDetail(int stockVal, int sId)
 {
     using (var db = new eTempleDbDB())
     {
         db.Execute("Update StockDetails set Stock = Stock - @0 where ServiceId = @1 ", stockVal, sId);
     }
 }