public int Insert(M_Ucenter model) { return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public bool Add(M_KeyWord model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }
public int Insert(M_User_Cloud model) { return(Sql.insert(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
//-----------------Insert public int Insert(M_Order_LuckCode model) { return(Sql.insert(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int GetInsert(M_School model) { return(Sql.insertID(TbName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int Insert(M_MisProLevel model) { if (!string.IsNullOrEmpty(model.CCUser) && !string.IsNullOrEmpty(model.ReferUser)) { model.CCUser = StringHelper.RemoveRepeat(model.CCUser.Split(','), model.ReferUser.Split(',')); } return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int insert(M_Trademark model) { return(Sql.insertID(TbName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public bool AddStock(M_Stock model) { string sqlStrs = ""; if (model.stocktype == 0) { sqlStrs = "Update ZL_Commodities set Stock=Stock+" + model.Pronum + " where ID=" + model.proid; } else { sqlStrs = "Update ZL_Commodities set Stock=Stock-" + model.Pronum + " where ID=" + model.proid; } SqlHelper.ExecuteSql(sqlStrs); return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }
/// <summary> /// 插入数据返回新ID /// </summary> public int insert(M_Content_WordChain model) { return(Sql.insertID(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int insert(M_OrderBaseField model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int insert(M_UserStoreTable model) { return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int insert(M_Examination model) { return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public bool GetInsert(M_MailIdiograph model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }
public int insert(M_MisProLevel model) { return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
/// <summary> ///添加记录 /// </summary> /// <param name="SchemeInfo"></param> /// <returns></returns> public bool GetInsert(M_SchemeInfo model) { return(Sql.insertID(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }
/// <summary> /// 复制某个广告 /// </summary> /// <param name="adid"></param> /// <returns></returns> public static bool Advertisement_Copy(int adid) { M_Advertisement model = new M_Advertisement(); B_Advertisement bll = new B_Advertisement(); model = bll.SelReturnModel(adid); model.ADName = "复制" + model.ADName; return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }
public int insert(M_DataList model) { return(Sql.insert(strTableName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int insert(M_Advertisement model) { return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int Insert(M_WX_APPID model) { return(Sql.insertID(TbName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public static bool Advertisement_Add(M_Advertisement Advertisement) { return(Sql.insert(strTableName, Advertisement.GetParameters(), BLLCommon.GetParas(Advertisement), BLLCommon.GetFields(Advertisement)) > 0); }
public bool Add(M_Templata model) { return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }
/// <summary> /// 添加数据字典项目 /// </summary> /// <param name="info"></param> /// <returns></returns> public static bool AddDic(M_Dictionary model) { return(Sql.insertID(model.TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)) > 0); }
public int insert(M_AuditingState model) { return(Sql.insert(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
/// <summary> /// 提交答案 /// </summary> public static bool AddAnswer(M_Answer info) { return(Sql.insertID("ZL_Answer", info.GetParameters(), BLLCommon.GetParas(info), BLLCommon.GetFields(info)) > 0); }
public int insert(M_KeyWord model) { return(Sql.insert(TbName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
/*-------------------------问答-------------------------------*/ public static int AddQuestion(M_Question info) { return(Sql.insertID(info.TbName, info.GetParameters(), BLLCommon.GetParas(info), BLLCommon.GetFields(info))); }
public int insert(M_Client_Penson model) { return(Sql.insert(strTableName, initMod.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public bool AddSurvey(M_Survey m_Survey) { return(Sql.insertID(strTableName, initMod.GetParameters(m_Survey), BLLCommon.GetParas(m_Survey), BLLCommon.GetFields(m_Survey)) > 0); }
public int insert(M_MailTemp model) { return(Sql.insert(strTableName, initMod.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }
public int Insert(M_WX_ReplyMsg model) { if (model.IsDefault == 1) { DBCenter.UpdateSQL(TbName, "IsDefault=0", "Appid=" + model.AppId + " AND ID!=" + model.ID); } return(Sql.insertID(TbName, model.GetParameters(model), BLLCommon.GetParas(model), BLLCommon.GetFields(model))); }