I have a SaaS application that contains sensitive client data. If the client ever decides to cancel their contract I need to remove all of their data. To test this out in pre-production I have created a Cascade Delete from AbpTenant to the Client's data so that deleting a Tenant in AbpTenant from SSMS removes all the Client's data. It does leave the Tenant in all of the other Abp Tables (since it is a soft delete). What is the best way to remove all the other references to that Tenant? I don't want to disable the Tenant Soft Delete. Should this just be a SQL script I need to generate?
1 Answer(s)
-
0
- You need to cascade soft deletes yourself.
- There is no way to hard-delete ISoftDelete entities.
What is the best way to remove all the other references to that Tenant? Should this just be a SQL script I need to generate?
Yes, you answered your own question with another question :)