Partilhar via


TransactionManager Class

Definition

The TransactionManager class is responsible for creating Transaction objects and keeping track of the current active transaction.

public ref class TransactionManager
public class TransactionManager
type TransactionManager = class
Public Class TransactionManager
Inheritance
TransactionManager

Constructors

TransactionManager(Store)

constructor.

Properties

CurrentTransaction

Return the current active transaction.

InTransaction

Return whether are not the Store is in the middle of a transaction or not.

Store

Return the Store that this TransactionManager is part of.

TransactionDepth

Return the depth of the nested transactions.

Methods

AddCanCommitCallback(CanCommitCallback)

Add CanCommit voter.

BeginTransaction()

Creates a new transaction object and returns a reference to it.

BeginTransaction(String, Boolean, TransactionContext)

Creates a new transaction object and returns a reference to it.

BeginTransaction(String, Boolean)

Creates a new transaction object and returns a reference to it.

BeginTransaction(String)

Creates a new transaction object and returns a reference to it.

RemoveCanCommitCallback(CanCommitCallback)

Remove CanCommit voter.

Applies to