Configured cascading on delete for modellayer and database