Esempio n. 1
0
 //------------Update
 public bool UpdateModel(M_Order_LuckCode model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Esempio n. 2
0
 //-----------------Insert
 public int Insert(M_Order_LuckCode model)
 {
     return(Sql.insert(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }