Esempio n. 1
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(BuysingooShop.Model.user_address model)
 {
     model.address = model.provinces + model.citys + model.area + model.street;
     return(dal.Update(model));
 }
Esempio n. 2
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(BuysingooShop.Model.user_address model)
 {
     model.address = model.provinces + model.citys + model.area + model.street;
     return(dal.Add(model));
 }