I would recommend setting up your foreign keys in SQL properly so that it cascade deletes. Please refer to the following URL for an example: http://blog.sqlauthority.com/2012/08/17/sql-server-curious-case-of-disappearing-rows-on-update-cascade-and-on-delete-cascade-t-sql-example-part-2-of-2/[^] This way, when you delete a Book SQL will delete the chapters for you. You won't have to write extra code to make sure your records aren't orphaned.
There are only 10 types of people in the world, those who understand binary and those who don't.