Beispiel #1
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(BookShop.Model.SearchDetails model)
 {
     return(dal.Update(model));
 }
        private void AddKeyWord(string keyWord)
        {
            SearchDetails model = new SearchDetails();
            model.KeyWords = keyWord;
            model.DateTime = DateTime.Now;

            SearchDetailsBLL bll = new SearchDetailsBLL();
            bll.Add(model);
        }
Beispiel #3
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public bool Add(BookShop.Model.SearchDetails model)
 {
     return(dal.Add(model));
 }