Пример #1
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public bool Add(SM.YuQing.Model.Config model)
 {
     return(dal.Add(model));
 }
Пример #2
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(SM.YuQing.Model.Config model)
 {
     return(dal.Update(model));
 }
Пример #3
0
 public int GetSearchLevels()
 {
     SM.YuQing.Model.Config config = dal.GetModelByName("SearchLevels");
     return(config.Count);
 }