Aerospike LINDPad Driver

ATransaction Constructor (ANamespaceAccess, Txn, Int32, Int32)

Initializes a new instance of ATransaction as an Aerospike transactional unit. If Commit()()()() method is not called the server will abort (rollback) this transaction.

Namespace:  Aerospike.Database.LINQPadDriver.Extensions
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public ATransaction(
	ANamespaceAccess baseNS,
	Txn txn,
	int commitretries,
	int retrySleepMS
)

Parameters

baseNS
Type: Aerospike.Database.LINQPadDriver.Extensions..::..ANamespaceAccess
Base Namespace instance
txn
Type: Txn
The Aerospike Txn instance
commitretries
Type: Int32
retrySleepMS
Type: Int32

Exceptions