GetCategoryURLs() 정적인 개인적인 메소드

static private GetCategoryURLs ( CarrotCMSDataContext ctx, Guid siteID ) : IQueryable
ctx CarrotCMSDataContext
siteID Guid
리턴 IQueryable
예제 #1
0
        public List <IContentMetaInfo> GetCategoryList(Guid siteID, int iUpdates)
        {
            List <IContentMetaInfo> lstContent = (from ct in CannedQueries.GetCategoryURLs(db, siteID)
                                                  where ct.IsPublic == true
                                                  orderby ct.UseCount descending
                                                  select(IContentMetaInfo) new ContentCategory(ct)).Take(iUpdates).ToList();

            return(lstContent);
        }