title: Locking records returned by context? Or perhaps a change to my approach
body: <p>I'm not sure whether I need a way to lock records returned by the context or simply need a new approach.</p>
  
  <p>Here's the story. We currently have a small number of apps that integrate with our CRM. Some of them open a XrmServiceContext and return a few thousand record to perform updates. These scripts are calling SaveChanges along the way but there will still be accounts near the end that will be saved a couple of minutes after the context return them. If a user updates the record during this time, their changes are overwritten by the script.</p>
  
  <p>Is there a way of locking the records until the context has saved the update back or is there a better approach I should be taking?</p>
  
  <p>Kit</p>