public int insert(M_Adzone model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
/// <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())); }
public bool UpdateByID(M_Adzone model) { return(Sql.UpdateByIDs(TbName, PK, model.ZoneID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters())); }
/// <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); }