I have problem with deleting related rows in Entity Framework 4.1. I have tables with relations
Book 1<--->* BookFormats
I have set the on delete cascade
You can use RemoveRange :
m.db.BookFormats.RemoveRange(originalBook.BookFormats); m.db.SaveChanges();
But this is for EF 6.0