I have a customer with many Addresses .Deleting the customer should delete all the customerAddresses too.
Provided I have sql server table “Customer” set up to have cascade delete
Is there anything special I need to do to make it work?
Any suggestions
No. It will just works. Cascading delete in a database is picked up by EDM Wizard and you will be having the same rule on your model’s associations and it is recommended to have cascade in both the model and the database, or in neither to avoid incorrect expectations and unpredictable results.