Instantiate a new Sequence object.
Namespace:
BerkeleyDBAssembly: libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0
Syntax
C# |
---|
public Sequence( SequenceConfig cfg, Transaction txn ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ cfg As SequenceConfig, _ txn As Transaction _ ) |
Visual C++ |
---|
public: Sequence( SequenceConfig^ cfg, Transaction^ txn ) |
Parameters
- cfg
- Type: BerkeleyDB..::.SequenceConfig
Configuration parameters for the Sequence
- txn
- Type: BerkeleyDB..::.Transaction
If the operation is part of an application-specified transaction, txn is a Transaction object returned from BeginTransaction()()(); if the operation is part of a Berkeley DB Concurrent Data Store group, txn is a handle returned from BeginCDSGroup()()(); otherwise null.
Remarks
If txn is null and the operation occurs in a
transactional database, the operation will be implicitly transaction
protected.