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

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

static private GetLatestContentSnippetBySlug ( Carrotware.CMS.Data.CarrotCMSDataContext ctx, System.Guid siteID, bool bActiveOnly, string sItemSlug ) : vw_carrot_ContentSnippet
ctx Carrotware.CMS.Data.CarrotCMSDataContext
siteID System.Guid
bActiveOnly bool
sItemSlug string
Результат vw_carrot_ContentSnippet
        internal static vw_carrot_ContentSnippet GetLatestContentSnippetBySlug(CarrotCMSDataContext ctx, Guid siteID, bool bActiveOnly, string sItemSlug)
        {
            SearchParameterObject sp = new SearchParameterObject {
                SiteID = siteID,
                DateCompare = DateTime.UtcNow,
                ActiveOnly = bActiveOnly,
                ItemSlug = sItemSlug
            };
            return cqGetLatestContentSnippetBySlug(ctx, sp);
        }