//Delete
        public void Delete(string shipmentNo)
        {
            TenderPending tenderedPending = db.TenderPendings.Find(shipmentNo);

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