title: Deleting multiple entities at once in C# winForm
body: <p>I am using the following code to delete records from entity model by datagridview in a winForm application.</p>
  
  <pre><code>var context= new AdminEntites();
  foreach (DataGridViewRow row in dgvLoadTable.Rows)
      {
          if (row.Cells["chkcol"].Value != null &amp;&amp; row.Cells["chkcol"].Value.Equals(true)) 
          {
  
              var selectedRec = (FILTER)this.rtBindingSource.Current;
                       //FILTER is the table name
                   context.DeleteObject(selectedRec);
                   context.SaveChanges();
            }
        }
  </code></pre>
  
  <p>This code is only deleting a single row one at a time. How can I delete all the selected rows at once?</p>