O'Reilly logo

ASP.NET MVC 4 Mobile App Development by Andy Meadows

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The BrewHow model

The Entity Framework supports three distinct ways to model our data: Database First, Model First, and Code First.

  • Database First is used when the database already exists and provides support to derive a model from the existing database schema
  • The Model First approach provides support to visually model our data and, from the model, generate the database
  • Code First allows us to generate our database schema from a model we define in code

Since we are developing a new app, the Database First method of modeling our data doesn't really apply. The Model First approach, introduced in Visual Studio 2010, could be used for the BrewHow app, but we will instead opt for the more agile approach of Code First.

The Code First approach will also allow ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required