I'm using EF and when I do this:
foreach (var reg in detail.Regs) { this.db.Regs.DeleteObject(reg); }
I get this:
Collection was modified; enumeration operation may not execute.
What I'm I doing wrong here???