Source code for ASP.Net tutorial http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc