示例#1
0
        /// <summary>
        ///添加记录
        /// </summary>
        /// <param name="Sensitivity"></param>
        /// <returns></returns>

        public int insert(M_Plan model)
        {
            return(Sql.insert(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
        }
示例#2
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_Plan model)
 {
     return(Sql.UpdateByID(strTableName, PK, model.ID, BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }