In this chapter, I demonstrate how to store the data in the SportsStore application in a database. I show you how to add Entity Framework Core to the project, how to prepare the data model, how to create and use a database, and how to adapt the application so that it makes efficient SQL queries. I also describe the problems that you are most likely to encounter when adding Entity Framework Core to a project and explain how to solve them.
Preparing for this Chapter
I continue to use the SportsStore project I created in Chapter 4. No changes are required for this chapter. ...