Carrotware.CMS.Core.CompiledQueries.ContentNavAll C# (CSharp) Method

ContentNavAll() static private method

static private ContentNavAll ( Carrotware.CMS.Data.CarrotCMSDataContext ctx, System.Guid siteID, bool bActiveOnly ) : IQueryable
ctx Carrotware.CMS.Data.CarrotCMSDataContext
siteID System.Guid
bActiveOnly bool
return IQueryable
        internal static IQueryable<vw_carrot_Content> ContentNavAll(CarrotCMSDataContext ctx, Guid siteID, bool bActiveOnly)
        {
            SearchParameterObject sp = new SearchParameterObject {
                SiteID = siteID,
                DateCompare = DateTime.UtcNow,
                ContentTypeID = ContentPageType.GetIDByType(ContentPageType.PageType.ContentEntry),
                ContentType = ContentPageType.PageType.ContentEntry,
                ActiveOnly = bActiveOnly
            };

            return cqContentNavAll(ctx, sp);
        }