コード例 #1
0
ファイル: B_Plan.cs プロジェクト: linrb/CMS-Source-code
        /// <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
ファイル: B_Plan.cs プロジェクト: linrb/CMS-Source-code
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_Plan model)
 {
     return(Sql.UpdateByID(strTableName, PK, model.ID, BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }