Declaration

function TransactionStartWith(aFailSafe: Boolean; aSnapShot: Boolean; const aCursors: array of TnxAbstractCursor): TnxResult; override;

 
Description

Start a transaction if an exclusive lock can be granted on all specified cursors. If the grant fails one or more tables or an error occurs, an error code is returned.

 
Parameters

aFailSafe: Boolean

if true it must be handled as fail safe.

aSnapShot: Boolean

if true it is handled as a SnapshotTransaction

const aCursors: array of TnxAbstractCursor

the cursors that should be part of the transaction

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxRemoteDatabase