public bool UpdateByID(M_IDC_DomainList model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters(model)));
 }
Exemple #2
0
 public bool UpdateByID(M_Adzone model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ZoneID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #3
0
 public bool GetUpdata(M_Usermagazine model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #4
0
 public bool UpdateByID(M_OA_Borrow model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters(model)));
 }
Exemple #5
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()));
 }
Exemple #6
0
 public bool UpLabelContent(M_Zone_Node model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
     //return Sql.UpLabel(strTableName, "[Content]=" + model.Content+"[Overflow]=" + model.Overflow+"[Display]=" + model.Display+"[Background]=" + model.Background, "[UserID]=" + model.UserID + " AND [NodeID]=" + model.NodeID + " AND [LabelID]=" + model.LabelID, M_Zone_Node.GetParameters(model));
 }
Exemple #7
0
 public bool UpdateByID(M_Exam_PaperNode model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #8
0
 public void UpdateByID(DataRow dr, string pk = "id")
 {
     Sql.UpdateByIDs(TbName, pk, dr[pk].ToString(), BLLCommon.GetFieldAndPara(dr, pk), BLLCommon.GetParameters(dr, pk));
 }
 public bool UpdateByID(M_Publish_Node model)
 {
     return(Sql.UpdateByID(model.TbName, PK, model.ID, BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #10
0
        public object Update(M_PageReg m_PageReg)
        {
            string strSQL = "UPDATE [" + strTableName + "] SET " + BLLCommon.GetFieldAndPara(m_PageReg) + " WHERE [ID]=" + m_PageReg.ID;

            return(SqlHelper.ExecuteScalar(CommandType.Text, strSQL, m_PageReg.GetParameters()));
        }
 public bool UpdateByID(M_Shop_FareTlp model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #12
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_PageReg m_PageReg)
 {
     return(Sql.UpdateByID(strTableName, PK, m_PageReg.ID, BLLCommon.GetFieldAndPara(m_PageReg), m_PageReg.GetParameters()));
 }
 public bool UpdateByID(M_EDU_Subject model)
 {
     return(Sql.UpdateByID(TbName, PK, model.ID, BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
 public bool UpdateByID(M_Order_Repair model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.PK, BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #15
0
 public bool UpdateByID(M_Plat_File model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.Guid.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
 public bool UpdateByID(M_User_UnitWeek model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.UserID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #17
0
 public bool UpLabel(M_Zone_Node model)
 {
     return(Sql.UpdateByIDs(strTableName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #18
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_PlanSql model)
 {
     return(Sql.UpdateByID(strTableName, PK, model.ID, BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #19
0
 public bool UpdateByID(M_Content_FileBuy model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Exemple #20
0
 //------------Update
 public bool UpdateModel(M_IDC_DBList model)
 {
     return(Sql.UpdateByIDs(TbName, PK, model.ID.ToString(), BLLCommon.GetFieldAndPara(model), model.GetParameters(model)));
 }