コード例 #1
0
ファイル: B_PlanSql.cs プロジェクト: linrb/CMS-Source-code
 public int insert(M_PlanSql model)
 {
     return(Sql.insertID(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }
コード例 #2
0
 public int insert(M_PlanSql model)
 {
     return(DBCenter.Insert(model));
 }
コード例 #3
0
ファイル: B_PlanSql.cs プロジェクト: linrb/CMS-Source-code
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_PlanSql model)
 {
     return(Sql.UpdateByID(strTableName, PK, model.ID, BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
コード例 #4
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_PlanSql model)
 {
     return(DBCenter.UpdateByID(model, model.ID));
 }