<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

Berkeley DB .NET API Documentation
Transaction Class
Members See Also Send Feedback

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

Transaction Members
BerkeleyDB Namespace