ASP.NET MVC3 Beta + Entity Framework Code First + Razor View Engine (Sample Project) Read the related blog post