title: How to delete slave entity in entity framework poco in one line?
body: <p>The following code:</p>
  
  <pre><code>order.Orderlines.Remove(orderline)
  </code></pre>
  
  <p>Means not only to remove relationship between Order and Orderline but also to remove orderline from persistence permanently. Many slave entities have this situation.</p>
  
  <p>As I know, in entity framework have to write extra code:</p>
  
  <pre><code>context.DeleteObject(orderline);
  </code></pre>
  
  <p>Or,</p>
  
  <pre><code>context.Orderlines.DeleteObject(orderline);
  </code></pre>
  
  <p>So, the remove rule can't be encapsulated entirely in order itself.</p>
  
  <p>Any better choice for one line deletion in entity framework?</p>