public void Update(Order orderobj)
 {
     e_commerce.Entry(orderobj).State = System.Data.Entity.EntityState.Modified;
     e_commerce.SaveChanges();
 }
 public void Update(Retailer retailer)
 {
     e_commerce.Entry(retailer).State = System.Data.Entity.EntityState.Modified;
     e_commerce.SaveChanges();
 }
Beispiel #3
0
 public void Update(User userObj)
 {
     e_commerce.Entry(userObj).State = EntityState.Modified;
     e_commerce.SaveChanges();
 }
 public void Update(Product prod)
 {
     e_commerce.Entry(prod).State = System.Data.Entity.EntityState.Modified;
     e_commerce.SaveChanges();
 }