Exemple #1
0
 public void Update(WorkOrder workOrder)
 {
     _dbConnection.WorkOrder.UpdateByWorkOrderId(workOrder);
     //_dbConnection.WorkOrder.Update(WorkOrderId: workOrder.WorkOrderId);
 }
Exemple #2
0
 public void Delete(WorkOrder workOrder)
 {
     _dbConnection.WorkOrder.DeleteByWorkOrderId(workOrder.WorkOrderId);
     //_dbConnection.WorkOrder.Delete(WorkOrderId: workOrder.WorkOrderId);
 }
Exemple #3
0
 public void Add(WorkOrder workOrder)
 {
     _dbConnection.WorkOrder.Insert(workOrder);
     //dynamic data = _dbConnection.WorkOrder.Insert(ProductId : 1, OrderQty : 10, StockedQty : 50 .......);
 }