Refactoring Databases - Introduce Cascading Delete

Refactoring Databases - Evolutionary Database Design

Introduce Cascading Delete

The database automatically deletes the appropriate “child records” when a “parent record” is deleted.



Example

Introduce Cascading Delete Example

For more information see page 215 of Database Refactoring



Unless otherwise noted, all material on this site is copyright Pramod Sadalage.
Please link freely to this site, but if you want to copy any of the materials you should contact the relevant copyright holders first.
Send feedback to Pramod Sadalage

Site design credit Narayan Raman