Пример #1
0
 public int GetInserts(M_ZL_GroupBuy model)
 {
     return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }
Пример #2
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool GetUpdate(M_ZL_GroupBuy model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }