December 2019
Intermediate to advanced
510 pages
11h 33m
English
As mentioned in the Deleting resources section of Chapter 5, Web Service Stack in ASP.NET Core, the soft delete technique is a widespread deletion practice in real-world applications. Furthermore, it is quite uncommon to physically delete entities from our data source.
Deleted data may be relevant for historical purposes and for performing analysis and reports. The soft delete implementation involves all the projects we have seen in the previous three chapters. In order to proceed, let's add a new IsInactive field to our Item entity inside the Catalog.Domain project:
namespace Catalog.Domain.Entities{ public class Item { ... public bool IsInactive { get; set; } }}
Since we changed the schema of the ...
Read now
Unlock full access