title: xtraGrid NewRow and Entity Framework
body: <pre><code>orderBindingSource.DataSource = _orderEntity;
  orderLineBindingSource.DataSource = _orderEntity.OrderLines;
  xtraGridOrderLine.DataSource = orderLineBindingSource;
  </code></pre>
  
  <p>How to achieve the following tasks?</p>
  
  <p>1/ When a user begins typing on the NewRow, an  entity should be added to _orderEntity.OrderLines.</p>
  
  <p>2/ When a user cancels the NewRow, the inserted  entity should be removed from _orderEntity.OrderLines.</p>
  
  <p>Thanks.</p>