<xml></xml>

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

Berkeley DB .NET API Documentation
SequenceConfig..::.BackingDatabase Field
SequenceConfig Class See Also Send Feedback

An open database which holds the persistent data for the sequence.

Namespace: BerkeleyDB
Assembly: libdb_dotnet62 (in libdb_dotnet62.dll) Version: 6.2.32.0

# Syntax

C#

    public Database BackingDatabase

Visual Basic (Declaration)

    Public BackingDatabase As Database

Visual C++

    public:
    Database^ BackingDatabase

# Remarks

The database may be of any type, but must not have been configured to support duplicate data items.

If BackingDatabase was opened in a transaction, calling Get may result in changes to the sequence object; these changes are automatically committed in a transaction internal to the Berkeley DB library. If the thread of control calling Get has an active transaction, which holds locks on the same database as the one in which the sequence object is stored, it is possible for a thread of control calling Get to self-deadlock because the active transaction's locks conflict with the internal transaction's locks. For this reason, it is often preferable for sequence objects to be stored in their own database.

# See Also

SequenceConfig Class
BerkeleyDB Namespace