Declaration

procedure StartTransactionWith(const aTables: array of TnxTable; aSnapShot: Boolean = False);

 
Description

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

 
Parameters

const aTables: array of TnxTable

the tables that should be part of the transaction

aSnapShot: Boolean = False

if true it is handled as a SnapshotTransaction; for more info see the nexus manual

 
See Also

 
StartTransaction
, StartTransactionWith, TryStartTransaction, Commit, Rollback, InTransaction, TransactionCorrupted

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