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