Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2018). SportsStore: Storing Data. In: Pro Entity Framework Core 2 for ASP.NET Core MVC. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3435-8_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3435-8_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3434-1
Online ISBN: 978-1-4842-3435-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)