示例#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();
 }