예제 #1
0
        //Delete
        public void Delete(string shipmentNo)
        {
            TenderPending tenderedPending = db.TenderPendings.Find(shipmentNo);

            db.TenderPendings.Remove(tenderedPending);
            Save();
        }
예제 #2
0
 //Update
 public void Update(TenderPending tenderedPending)
 {
     objDb.Update(tenderedPending);
 }
예제 #3
0
 //Insert
 public void Insert(TenderPending tenderedPending)
 {
     objDb.Insert(tenderedPending);
 }
예제 #4
0
 //Update
 public void Update(TenderPending tenderedPending)
 {
     db.Entry(tenderedPending).State = EntityState.Modified;
     Save();
 }
예제 #5
0
 //Insert
 public void Insert(TenderPending tenderedPending)
 {
     db.TenderPendings.Add(tenderedPending);
     Save();
 }