Beispiel #1
0
 public int insert(M_Adzone model)
 {
     return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }
Beispiel #2
0
 /// <summary>
 /// 修改版位
 /// </summary>
 /// <param name="adZone"></param>
 /// <returns></returns>
 public static bool ADZone_Updates(M_Adzone model)
 {
     return(Sql.UpdateByIDs(model.TbName, model.PK, model.ZoneID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Beispiel #3
0
 public bool UpdateByID(M_Adzone model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ZoneID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Beispiel #4
0
 /// <summary>
 /// 添加版位
 /// </summary>
 /// <param name="adZone"></param>
 /// <returns></returns>
 static bool ADZone_Adds(M_Adzone model)
 {
     Sql.insert(model.TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model));
     return(true);
 }