© Adam Freeman 2018
Adam FreemanPro Entity Framework Core 2 for ASP.NET Core MVChttps://doi.org/10.1007/978-1-4842-3435-8_22

22. Deleting Data

Adam Freeman1 
(1)
London, UK
 
Deleting data can be a surprisingly complex task, especially when it comes to dealing with related data or modeling an existing database. In this chapter, I describe the Entity Framework Core features for dealing with deleting data, demonstrate how each of them works, and explain when they are useful. Table 22-1 puts this chapter into context.
Table 22-1.

Putting Advanced Delete Features in Context

Question

Answer

What are they?

These features allow you to specify how the database server responds to requests to delete data.

Why are they useful?

There are several different ways that related ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.