Entity Framework is a quite powerful ORM solution in .NET. Now with the ASP.NET MVC tools refresh, it also got the CodeFirst feature, which is quite handy when you want to generate a model for you data using code and the database automatically gets build…