internal static IQueryable<carrot_Content> GetBlogAllContentTbl(CarrotCMSDataContext ctx, Guid siteID)
{
return (from ct in ctx.carrot_RootContents
join c in ctx.carrot_Contents on ct.Root_ContentID equals c.Root_ContentID
where ct.SiteID == siteID
where c.IsLatestVersion == true
&& ct.ContentTypeID == ContentPageType.GetIDByType(ContentPageType.PageType.BlogEntry)
select c);
}