title: Remove multiple rows from table with a LINQ query
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8538899/ef-code-first-delete-batch-from-iqueryablet">EF Code First Delete Batch From IQueryable&lt;T&gt;?</a>  </p>
  </blockquote>
  
  
  
  <p>How can I remove multiple rows from table with a LINQ query.</p>
  
  <p>I have code like:</p>
  
  <pre><code>var subjects = (from sub in db.Subjects select sub)
                 .Where(sub =&gt; sub.title.StartsWith("ab"));
  </code></pre>
  
  <p>and I want to delete all these subjects from my table in one command like in sql:</p>
  
  <pre><code>"Delete FROM table WHERE ..." 
  </code></pre>