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