I am writing a blog using ASP.NET MVC2 and using EF4 as the ORM. I want to use Tags for navigation instead of traditional categories.
Tables:
Post Table
- Id
- Title
- Body
- Slug
- PostDate
PostTags Table
- PostId
- TagId
Tags Table
- Id
- TagName
I want to be able to get a Post object that includes a list of associated Tags. I am new to ASP.NET and MVC so any help would be great!