Ejemplo n.º 1
0
 public int insert(M_PlanSql model)
 {
     return(Sql.insertID(strTableName, model.GetParameters(), BLLCommon.GetParas(model), BLLCommon.GetFields(model)));
 }
Ejemplo n.º 2
0
 public int insert(M_PlanSql model)
 {
     return(DBCenter.Insert(model));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_PlanSql model)
 {
     return(Sql.UpdateByID(strTableName, PK, model.ID, BLLCommon.GetFieldAndPara(model), model.GetParameters()));
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 根据ID更新
 /// </summary>
 public bool UpdateByID(M_PlanSql model)
 {
     return(DBCenter.UpdateByID(model, model.ID));
 }