© Adam Freeman 2018

Adam Freeman, Pro Entity Framework Core 2 for ASP.NET Core MVC, https://doi.org/10.1007/978-1-4842-3435-8_6

6. SportsStore: Modifying and Deleting Data

Adam Freeman

(1)London, UK

At the moment, the SportsStore application can store Product objects in the database and perform queries to read them back again. Most applications also require the ability to make changes to the data after it has been stored, including removing objects entirely. In this chapter, I add support for updating and deleting Product objects. I also describe the problems that you are likely to encounter adding these features in your own projects and explain how to resolve them.

Preparing for This Chapter

In this chapter I continue using the SportsStore project ...

Get Pro Entity Framework Core 2 for ASP.NET Core MVC now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.