Exemplo n.º 1
0
        public List <BaseArticleInfo> GetBaseArticleInfoPage(int?articleGroupId, int?articleGroupThreadId, List <string> tags
                                                             , ref int pageIndex, int pageSize, out int rowCount)
        {
            List <BaseArticleInfo> list;

            try
            {
                using (IDataStoreContext dataStoreContext = this._DataStore.CreateContext())
                {
                    list = dataStoreContext.cms_Contents_GetBaseArticleInfoPage(articleGroupThreadId, articleGroupId, tags
                                                                                , ref pageIndex, pageSize, out rowCount);
                }
            }
            catch (SqlException ex)
            {
                _Log.Error("Error at cms_Contents_GetBaseArticleInfoPage", ex);
                throw new DataStoreException(ex, true);
            }
            return(list);
        }