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

GetLatestContentSnippetByID() static private method

static private GetLatestContentSnippetByID ( Carrotware.CMS.Data.CarrotCMSDataContext ctx, System.Guid siteID, bool bActiveOnly, System.Guid itemID ) : vw_carrot_ContentSnippet
ctx Carrotware.CMS.Data.CarrotCMSDataContext
siteID System.Guid
bActiveOnly bool
itemID System.Guid
return vw_carrot_ContentSnippet
        internal static vw_carrot_ContentSnippet GetLatestContentSnippetByID(CarrotCMSDataContext ctx, Guid siteID, bool bActiveOnly, Guid itemID)
        {
            SearchParameterObject sp = new SearchParameterObject {
                SiteID = siteID,
                DateCompare = DateTime.UtcNow,
                ActiveOnly = bActiveOnly,
                ItemSlugID = itemID
            };
            return cqGetLatestContentSnippetByID(ctx, sp);
        }