Пример #1
0
 public void EditGoods(Goods goods)
 {
     db.Entry(goods).State = EntityState.Modified;
     db.SaveChanges();
 }
Пример #2
0
 public void UpdateUserInfo(UserInfo userInfo)
 {
     db.Entry(userInfo).State = EntityState.Modified;
     db.SaveChanges();
 }
Пример #3
0
 public void UpdateShopcarCount(ShopCar shopCar)
 {
     db.Entry(shopCar).State = EntityState.Modified;
     db.SaveChanges();
 }
Пример #4
0
 public void EditOrders(Orders orders)
 {
     db.Entry(orders).State = EntityState.Modified;
     db.SaveChanges();
 }