In this chapter, I will cover how to delete data using Entity Framework Core 5. There are generally two ways to delete a record. These two methods are often referred to as soft delete and hard delete. A soft delete is flagging a record as deleted and can be achieved by doing a database update and setting a flag to mark a record as deleted. A hard delete is removing the record from the database, and it can no longer be retrieved afterward. In this chapter, I will be covering how to implement a hard delete.