title: Transaction being promoted to distributed in Entity Framework
body: <p>We have a problem with transactions that are being promoted to distributed when it shouldn't. We are using Entity Framework 4.1 and TransactionScope in a WCF service: </p>
  
  <pre><code>    [OperationBehavior(TransactionScopeRequired = true)]
      [TransactionFlow(TransactionFlowOption.Allowed)]
      public void SetCapLength(Guid orderId, int capLength){}
  </code></pre>
  
  <p>A ObjectContext-instance is created for each service request and only one is used during the entire request. </p>
  
  <p>We are using SQL Server 2008 R2. </p>
  
  <p>The promotion to distributed transaction seems very random. </p>
  
  <p>Anyone knows what can cause E.F. to promote our transaction? </p>