# C1.LiveLinq.ITransaction

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_LiveLinq_ITransaction" data-uid="C1.LiveLinq.ITransaction" class="text-break">ITransaction Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a transaction with an explicit scope.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.LiveLinq.html">C1.LiveLinq</a></h6>
  <h6><strong>Assembly</strong>: C1.LiveLinq.4.8.dll</h6>
  <h5 id="C1_LiveLinq_ITransaction_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ITransaction : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ITransaction
    Inherits IDisposable</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_LiveLinq_ITransaction_HasChanges" data-uid="C1.LiveLinq.ITransaction.HasChanges">
          <a class="xref" href="C1.LiveLinq.ITransaction.HasChanges.html#C1_LiveLinq_ITransaction_HasChanges">HasChanges</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether any changes were made in the scope of this transaction.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_ITransaction_State" data-uid="C1.LiveLinq.ITransaction.State">
          <a class="xref" href="C1.LiveLinq.ITransaction.State.html#C1_LiveLinq_ITransaction_State">State</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current state of the transaction.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_LiveLinq_ITransaction_Commit" data-uid="C1.LiveLinq.ITransaction.Commit">
          <a class="xref" href="C1.LiveLinq.ITransaction.Commit.html#C1_LiveLinq_ITransaction_Commit">Commit()</a>
        </td>
        <td class="markdown level1 summary"><p>Commits changes that were made while this transaction's scope was open.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_ITransaction_Rollback" data-uid="C1.LiveLinq.ITransaction.Rollback">
          <a class="xref" href="C1.LiveLinq.ITransaction.Rollback.html#C1_LiveLinq_ITransaction_Rollback">Rollback()</a>
        </td>
        <td class="markdown level1 summary"><p>Rolls back changes that were made while this transaction's scope was open.</p>
</td>
      </tr>
      <tr>
        <td id="C1_LiveLinq_ITransaction_Scope" data-uid="C1.LiveLinq.ITransaction.Scope">
          <a class="xref" href="C1.LiveLinq.ITransaction.Scope.html#C1_LiveLinq_ITransaction_Scope">Scope()</a>
        </td>
        <td class="markdown level1 summary"><p>Opens a transaction scope.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.LiveLinq.Hints.Indexed.html#C1_LiveLinq_Hints_Indexed__1___0_">Hints.Indexed&lt;T&gt;(T)</a>
  </div>
  <div>
      <a class="xref" href="C1.LiveLinq.Hints.Indexed.html#C1_LiveLinq_Hints_Indexed__1___0_C1_LiveLinq_IndexingHintAction_">Hints.Indexed&lt;T&gt;(T, IndexingHintAction)</a>
  </div>

</div>
