title: How to delete an object by id with entity framework
body: <p>It seems to me that I have to retrieve an object before I delete it with entity framework like below</p>
  
  <pre><code>var customer = context.Customers.First(c =&gt; c.Id == 1);
  
  context.DeleteObject(customer);
  
  context.Savechanges();
  </code></pre>
  
  <p>So I need to hit database twice. Is there a easier way?</p>