Beispiel #1
0
 public override void SetDAL()
 {
     idal = DBSessionFactory.GetDBSession().TopicforumDAL;
 }
Beispiel #2
0
 public override void SetDAL()
 {
     idal = DBSessionFactory.GetDBSession().VideoDAL;
 }
Beispiel #3
0
 public override void SetDAL()
 {
     idal = DBSessionFactory.GetDBSession().SensitiveDAL;
 }
Beispiel #4
0
 public IEnumerable <Reply> GetReplyAllFather(string whereStr)
 {
     return(DBSessionFactory.GetDBSession().ReplyDAL.GetReplyAllFather(whereStr));
 }
Beispiel #5
0
 public override void SetDAL()
 {
     idal = DBSessionFactory.GetDBSession().CategoryDAL;
 }
Beispiel #6
0
 public override void SetDAL()
 {
     idal = DBSessionFactory.GetDBSession().NotificationDAL;
 }
Beispiel #7
0
 public User GetUserByName(string name)
 {
     return(DBSessionFactory.GetDBSession().UserDAL.GetUserByName(name));
 }
Beispiel #8
0
 public User Login(string username, string password)
 {
     return(DBSessionFactory.GetDBSession().UserDAL.Login(username, password));
 }
Beispiel #9
0
 public override void SetDAL()
 {
     idal = DBSessionFactory.GetDBSession().EXArticleDAL;
 }
Beispiel #10
0
 public User GetUserByEmail(string email)
 {
     return(DBSessionFactory.GetDBSession().UserDAL.GetUserByEmail(email));
 }
Beispiel #11
0
 /// <summary>
 /// 得到某个日期时间段的更新的博客
 /// </summary>
 /// <param name="begin"></param>
 /// <param name="end"></param>
 /// <returns></returns>
 public int GetUpdateRecordsCountByDate(DateTime begin, DateTime end)
 {
     return(DBSessionFactory.GetDBSession().EXArticleDAL.GetUpdateRecordsCountByDate(begin, end));
 }
Beispiel #12
0
 /// <summary>
 /// 得到 分类数量
 /// </summary>
 /// <returns></returns>
 public IEnumerable <DapperDict> GetCategoryCount()
 {
     return(DBSessionFactory.GetDBSession().EXArticleTempDAL.GetCategoryCount());
 }
Beispiel #13
0
 /// <summary>
 /// 得到一段时间内的增加的和修改的数量
 /// </summary>
 /// <param name="begin"></param>
 /// <param name="end"></param>
 /// <returns></returns>
 public IEnumerable <DapperAddAndUpdateRecord> GetAddAndUpdateRecordsByDate(DateTime begin, DateTime end)
 {
     return(DBSessionFactory.GetDBSession().EXArticleTempDAL.GetAddAndUpdateRecordsByDate(begin, end));
 }
Beispiel #14
0
 public override void SetDAL()
 {
     idal = DBSessionFactory.GetDBSession().SourceWebDAL;
 }
Beispiel #15
0
 public override void SetDAL()
 {
     idal = DBSessionFactory.GetDBSession().CarouselDAL;
 }