In this chapter, we used the Entity Framework Code First approach to demonstrate how we can create a data-centric application using Entity Framework as the ORM. The reason for choosing the Code First approach is that this approach is the most verbose approach, and we get to see the code for all the entities.
If we were to use the Database First approach for this application, we just need to create the database that we saw in the beginning of the chapter, and add an Entity Data Model using the Database First approach. If we had used the Database First approach, our Entity Data Model would have looked like the following:
If we want to use the Model First approach, then we need to use the Visual Entity Designer and create this model ourselves. The rest of the application code that we have seen would have remained the same even if we had used the database first or model first approach.