title: SharePoint 2007: How can I perform a series of operations within a transaction?
body: <p>I would love to know how to perform a series of operations in a SharePoint context within a transaction.  For example, I would like to be able to do something like the following:</p>
  
  <pre><code>context.BeginTransaction();
  listItemA.Update();
  listItemB.Update();
  context.CommitTransaction();
  </code></pre>
  
  <p>I know this isn't possible with the OOTB APIs, but someone has got to have figured out how to accomplish this.  Is it possible to get a reference to the database connection in order to handle the transaction?  Or any other ideas?</p>