Skip to content

Instantly share code, notes, and snippets.

@azcoov
Created January 23, 2011 02:24
Show Gist options
  • Save azcoov/791745 to your computer and use it in GitHub Desktop.
Save azcoov/791745 to your computer and use it in GitHub Desktop.
Linq to find all tags for tag cloud
// Repository
public IEnumerable<BlogCategory> FindAllBlogCategories()
{
return db.BlogCategories.OrderBy(c => c.BlogCategory_ID);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment