"hard-delete" is to delete irreversibly.
Questions tagged [hard-delete]
3 questions
151
votes
26 answers
Physical vs. logical (hard vs. soft) delete of database record?
What is the advantage of doing a logical/soft delete of a record (i.e. setting a flag stating that the record is deleted) as opposed to actually or physically deleting the record?
Is this common practice?
Is this secure?

user21826
- 3,524
- 5
- 28
- 28
1
vote
1 answer
Capture who deleted in EF hard delete
I am deleting entities with hard delete by marking EntityState.Deleted;
I have also enabled CDC in the DB tables.
How can I capture deletedby from the application through entity framework?
I have tried to set deletedby value. But then the entity…

Praveen Prasannan
- 7,093
- 10
- 50
- 70
0
votes
1 answer
Hard delete the associated records for which soft delete is enabled in rails
I have a user model and no soft deletion is enabled for the user model. For one it's associated model(has_many association) say posts, soft deletion is enabled. What I want is to hard delete all the associated posts when a user is deleted.
In…

Aarthi
- 1,451
- 15
- 39