A class representing Berkeley DB transactions

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet53 (in libdb_dotnet53.dll) Version: 5.3.28.0

Syntax

C#
public class Transaction
Visual Basic (Declaration)
Public Class Transaction
Visual C++
public ref class Transaction

Remarks

Calling Abort()()(), Commit()()() or Discard()()() will release the resources held by the created object.

Transactions may only span threads if they do so serially; that is, each transaction must be active in only a single thread of control at a time. This restriction holds for parents of nested transactions as well; no two children may be concurrently active in more than one thread of control at any one time.

Cursors may not span transactions; that is, each cursor must be opened and closed within a single transaction.

A parent transaction may not issue any Berkeley DB operations except for BeginTransaction()()(), Abort()()()and Commit()()() while it has active child transactions (child transactions that have not yet been committed or aborted).

Inheritance Hierarchy

System..::.Object
  BerkeleyDB..::.Transaction

See Also