Before you implement the new command handlers, you should know some basic facts about how the framework supports database updating:
There are two main concerns when you delete a record. First, if you delete a record from one table and there are related records in other tables, you may damage the integrity of your database. For example, deleting a class section for which there are records in the Enrollment table makes the Section and Enrollment tables inconsistent.
Second, after deleting a record, you or the user must move off the deleted record to another record.