示例#1
0
 public void createPurchaseOrderDetails(purchaseorderdetail rd)
 {
     try
     {
         purchaseorderdetail detail = new purchaseorderdetail();
         detail.POID = rd.POID;
         detail.POItemID = rd.POItemID;
         detail.POItemQuant = rd.POItemQuant;
         detail.POStatus = rd.POStatus;
         cntx.purchaseorderdetails.Add(detail);
         cntx.SaveChanges();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
 public void createPurchaseOrderDetails(purchaseorderdetail rd)
 {
     access.createPurchaseOrderDetails(rd);
 }