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

GetLatestContentByURL() static private method

static private GetLatestContentByURL ( Carrotware.CMS.Data.CarrotCMSDataContext ctx, System.Guid siteID, bool bActiveOnly, string sPage ) : vw_carrot_Content
ctx Carrotware.CMS.Data.CarrotCMSDataContext
siteID System.Guid
bActiveOnly bool
sPage string
return vw_carrot_Content
        internal static vw_carrot_Content GetLatestContentByURL(CarrotCMSDataContext ctx, Guid siteID, bool bActiveOnly, string sPage)
        {
            SearchParameterObject sp = new SearchParameterObject {
                SiteID = siteID,
                DateCompare = DateTime.UtcNow,
                ActiveOnly = bActiveOnly,
                FileName = sPage
            };
            return cqGetLatestContentByURL(ctx, sp);
        }