Esempio n. 1
0
 public List<News> GetTopImageNewsByTag(
     int tagId, int maxCount, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetTopImageNewsByTag(tagId, maxCount, (int)newsRemarkType);
 }
Esempio n. 2
0
 public List<News> GetTopImageNewsByNewsType(BandType newsType, int maxCount, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetTopImageNewsByNewsType((int)newsType, maxCount, (int)newsRemarkType);
 }
Esempio n. 3
0
 public List<News> GetTopImageNewsByPublishDate(
     DateTime sTime, DateTime eTime, int maxCount, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetTopImageNewsByPublishDate(sTime, eTime, maxCount, (int)newsRemarkType);
 }
Esempio n. 4
0
 public List<News> GetPagedNewsByTypeANDPublishDate(PagingContext pager, BandType newsType, DateTime sTime,
     DateTime eTime, PublishStatus publishStatus, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetPagedNewsByTypeANDPublishDate(pager, (int)newsType, sTime,eTime,(int)publishStatus
         , (int)newsRemarkType);
 }
Esempio n. 5
0
 public List<News> GetTopImageNews(int maxCount, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetTopImageNews(maxCount, (int)newsRemarkType);
 }
Esempio n. 6
0
 public List<News> GetNewsPreviousNextWithBandType(int currentNewsId, NewsRemarkType newsRemarkType,int bandType)
 {
     return NewsDao.GetNewsPreviousNextWithBandType(currentNewsId, (int)newsRemarkType, bandType);
 }
Esempio n. 7
0
 public List <News> GetNewsPreviousNextWithBandType(int currentNewsId, NewsRemarkType newsRemarkType, int bandType)
 {
     return(NewsDao.GetNewsPreviousNextWithBandType(currentNewsId, (int)newsRemarkType, bandType));
 }
Esempio n. 8
0
 public List <News> GetPagedNewsByNewsType(PagingContext pager, BandType newsType,
                                           PublishStatus publishStatus, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetPagedNewsByNewsType(pager, (int)newsType, (int)publishStatus, (int)newsRemarkType));
 }
Esempio n. 9
0
 public List <News> GetPagedNewsByPublishDate(PagingContext pager, DateTime sTime,
                                              DateTime eTime, PublishStatus publishStatus, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetPagedNewsByPublishDate(pager, sTime, eTime, (int)publishStatus
                                              , (int)newsRemarkType));
 }
Esempio n. 10
0
 public List <News> GetTopImageNewsByTag(
     int tagId, int maxCount, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetTopImageNewsByTag(tagId, maxCount, (int)newsRemarkType));
 }
Esempio n. 11
0
 public List <News> GetTopImageNewsByTagANDNewsType(
     int tagId, BandType newsType, int maxCount, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetTopImageNewsByTagANDNewsType(tagId, (int)newsType,
                                                    maxCount, (int)newsRemarkType));
 }
Esempio n. 12
0
 public List <News> GetTopImageNewsByPublishDate(
     DateTime sTime, DateTime eTime, int maxCount, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetTopImageNewsByPublishDate(sTime, eTime, maxCount, (int)newsRemarkType));
 }
Esempio n. 13
0
 public List <News> GetTopImageNewsByNewsType(BandType newsType, int maxCount, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetTopImageNewsByNewsType((int)newsType, maxCount, (int)newsRemarkType));
 }
Esempio n. 14
0
 public List <News> GetTopImageNews(int maxCount, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetTopImageNews(maxCount, (int)newsRemarkType));
 }
Esempio n. 15
0
 public List<News> GetTopImageNewsByTagANDNewsType(
     int tagId, BandType newsType, int maxCount, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetTopImageNewsByTagANDNewsType(tagId, (int)newsType,
         maxCount, (int)newsRemarkType);
 }
Esempio n. 16
0
 public List <News> GetPagedNewsByTag(PagingContext pager, PublishStatus publishStatus,
                                      int tagId, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetPagedNewsByTag(pager, (int)publishStatus, tagId, (int)newsRemarkType));
 }
Esempio n. 17
0
 /// <summary>
 /// 获取新闻上一条下一条
 /// </summary>
 /// <param name="currentNewsId"></param>
 /// <returns></returns>
 public List<News> GetNewsPreviousNext(int currentNewsId, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetNewsPreviousNext(currentNewsId, (int)newsRemarkType);
 }
Esempio n. 18
0
 public List<News> GetPagedNewsByTag(PagingContext pager, PublishStatus publishStatus,
     int tagId, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetPagedNewsByTag(pager, (int)publishStatus, tagId, (int)newsRemarkType);
 }
Esempio n. 19
0
 public List<News> GetPagedNewsByNewsType(PagingContext pager, BandType newsType,
     PublishStatus publishStatus, NewsRemarkType newsRemarkType)
 {
     return NewsDao.GetPagedNewsByNewsType(pager, (int)newsType, (int)publishStatus, (int)newsRemarkType);
 }
Esempio n. 20
0
 /// <summary>
 /// 获取新闻上一条下一条
 /// </summary>
 /// <param name="currentNewsId"></param>
 /// <returns></returns>
 public List <News> GetNewsPreviousNext(int currentNewsId, NewsRemarkType newsRemarkType)
 {
     return(NewsDao.GetNewsPreviousNext(currentNewsId, (int)newsRemarkType));
 }