With Entity Framework, I try to delete some objects from my object context like that :
foreach (var item in context.Items.Where( i => i.Value > 50 ) )
{
context.Items.DeleteObject(item);
}
With this code, I have a "Collection Was Modified" Exception.
So, how can I do a batch delete ?