Abstract
In this chapter, I expand the data model for the SportsStore application beyond the single Product class. I show you how to normalize data by replacing a string property with a separate class and explain how to access the data once you have created it. I also add support for representing customer orders, which is an essential part of any online store.
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: Expanding the Model. In: Pro Entity Framework Core 2 for ASP.NET Core MVC. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3435-8_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3435-8_7
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)