title: SQL Server 2014 in memory table and transactions
body: <p>I'm using Entity Framework 6.1.0 with SQL Server 2014.</p>
  
  <p>I'm attempting to perform several operations under a transaction which i've created like this:</p>
  
  <pre><code>(var transaction = context.Database.BeginTransaction())
  {
  
  
  }
  </code></pre>
  
  <p>But I'm getting an error </p>
  
  <blockquote>
    <p>Accessing memory optimized tables using the READ COMMITTED isolation level is supported only for autocommit transactions. It is not supported for explicit or implicit transactions. Provide a supported isolation level for the memory optimized table using a table hint, such as WITH (SNAPSHOT).</p>
  </blockquote>
  
  <p>I have tried all possible isolation levels (those allowed for in memory tables) but to no avail.</p>
  
  <p>How can I perform atomic transactions from code with in memory tables?</p>