Hi there,
I have an entity who's primary key is a foreign key in other tables in the database
In order to delete a record in this entity I need to first delete all the foreign keys records or the delete will not work
At the moment i have to select all the foeign key records manually and delete them which is a bit of a pain
Is there a way that you can tell the EF to delete all it's references in other tables automatically?