static private TopLevelPages ( 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> TopLevelPages(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 cqTopLevelPages(ctx, sp);
}