Is there any way i can delete all records in a collection?

Please take a look at this solution posted by a community member: How to implement cascade delete? - #2 by TORCH