예제 #1
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_StoreStyleTable model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
예제 #2
0
 /// <summary>
 /// 添加店铺模板
 /// </summary>
 /// <param name="sst"></param>
 public void InsertStoreStyle(M_StoreStyleTable model)
 {
     Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model));
 }
예제 #3
0
 /// <summary>
 /// 修改店铺模板
 /// </summary>
 /// <param name="sst"></param>
 public void UpdateStoreStyle(M_StoreStyleTable model)
 {
     Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters());
 }