static private GetPostCategoryURL ( CarrotCMSDataContext ctx, Guid siteID, Guid rootContentID ) : IQueryable |
||
ctx | CarrotCMSDataContext | |
siteID | Guid | |
rootContentID | Guid | |
Résultat | IQueryable |
public List <IContentMetaInfo> GetCategoryListForPost(Guid siteID, int iUpdates, Guid rootContentID) { List <IContentMetaInfo> lstContent = (from ct in CannedQueries.GetPostCategoryURL(db, siteID, rootContentID) where ct.IsPublic == true orderby ct.CategoryText select(IContentMetaInfo) new ContentCategory(ct)).Take(iUpdates).ToList(); return(lstContent); }
public List <ContentCategory> GetCategoryListForPost(Guid siteID, int iUpdates, string urlFileName) { List <ContentCategory> lstContent = (from ct in CannedQueries.GetPostCategoryURL(db, siteID, urlFileName) where ct.IsPublic == true orderby ct.CategoryText select new ContentCategory(ct)).Take(iUpdates).ToList(); return(lstContent); }