Carrotware.CMS.Core.CompiledQueries.GetLatestBlogList C# (CSharp) Метод

GetLatestBlogList() статический приватный Метод

static private GetLatestBlogList ( Carrotware.CMS.Data.CarrotCMSDataContext ctx, System.Guid siteID, bool bActiveOnly ) : IQueryable
ctx Carrotware.CMS.Data.CarrotCMSDataContext
siteID System.Guid
bActiveOnly bool
Результат IQueryable
        internal static IQueryable<vw_carrot_Content> GetLatestBlogList(CarrotCMSDataContext ctx, Guid siteID, bool bActiveOnly)
        {
            SearchParameterObject sp = new SearchParameterObject {
                SiteID = siteID,
                DateCompare = DateTime.UtcNow,
                ContentTypeID = ContentPageType.GetIDByType(ContentPageType.PageType.BlogEntry),
                ContentType = ContentPageType.PageType.BlogEntry,
                ActiveOnly = bActiveOnly
            };

            return cqGetLatestBlogList(ctx, sp);
        }