title: .NET 4.0, MVC 2, Entity Framework 4, and Repository Pattern
body: <p>I am new to both MVC as well as Entity Framework, but I want to do my next project using those technologies.  I went through the NerdDinner tutorial at <a href="http://nerddinnerbook.s3.amazonaws.com/Part1.htm" rel="nofollow noreferrer">http://nerddinnerbook.s3.amazonaws.com/Part1.htm</a>.  NerdDinner uses Linq to Sql and uses the Repository pattern to manage data access. NerdDinner is written so well that I wanted to use it as my guide when working on my new project.  Unfortunately, since it's using Linq to Sql, and the recommendation now is to use Entity Framework 4, I got thrown off a little.  Since I am also new to MVC, I sort of need a good example like NerdDinner to start off with, and I'm unable to find something similar except that uses the EntityFramework 4.0.</p>
  
  <p>If I start off using Linq to Sql with the repository pattern like NerDinner does, it should be pretty easy to switch to EntityFramework later right?  </p>
  
  <p>Are there any good tutorials using MVC 2 and EF 4?</p>