The Delete Class command, accessed on the right-click context menu when editing the schema under the Schema ribbon, removes the selected class from the schema. When deleting the class from the project, you will delete all corresponding entities from the database during the database migration. Once migration is completed this action cannot be undone. If you accidentally delete a class, you can use the Cancel Schema Editing command to discard all schema edits made since entering schema mode.