GetLatestContentByParent() static private method

static private GetLatestContentByParent ( CarrotCMSDataContext ctx, Guid siteID, Guid parentContentID, bool bActiveOnly ) : IQueryable
ctx CarrotCMSDataContext
siteID Guid
parentContentID Guid
bActiveOnly bool
return IQueryable
Esempio n. 1
0
        public List <SiteNav> GetLatestChildContentPagedList(Guid siteID, string parentPage, bool bActiveOnly, int pageSize, int pageNumber, string sortField, string sortDir)
        {
            IQueryable <vw_carrot_Content> query1 = CannedQueries.GetLatestContentByParent(db, siteID, parentPage, bActiveOnly);

            return(PerformDataPagingQueryableContent(siteID, bActiveOnly, pageSize, pageNumber, sortField, sortDir, query1));
        }