So far all examples in the book have been based on a project started from scratch with a new database; however, in reality this kind of greenfield project is rare. Entity Framework v6.1 onwards now has a feature that supports using a Code First approach with an existing database.
There are no prerequisites for completing this chapter. It does not require any source code downloads or any of the previous chapters to have been completed.
Create a Database to Use with Code First
To create a database, there are various approaches you can ...