views:

78

answers:

0

I am using EF 4.0 and am generating my Entity Model (.edmx) file from my database. I have several foreign key constraints for Cascade OnDelete, however, these are not getting set on my associations in my entity model. I click on the association and it shows End1 OnDelete: None.

When I check the Delete rules in my SQL Server 2008 database on my foreign key constraint, it says 'Cascade'.

Is there something I am missing to get the Cascade OnDelete flag to set in my entity model?