Condividi tramite


TransactionBase Class

Definition

Provides an abstract base class for a transaction.

public abstract class TransactionBase : IDisposable
type TransactionBase = class
    interface IDisposable
Public MustInherit Class TransactionBase
Implements IDisposable
Inheritance
TransactionBase
Derived
Implements

Properties

Id

Gets the ID of the transaction as a Guid.

IsolationLevel

Gets the isolation level of the transaction as a TransactionIsolationLevel.

Methods

Dispose()

Performs application-defined tasks that are associated with freeing, releasing, or resetting unmanaged resources.

Finalize()

Enables an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

IsDisposed()

Gets a value that indicates whether the object has been disposed.

OnDispose()

The dispose event occurs when the transaction is disposed of through the OnDispose method.

Applies to