Product Documentation

VCL/CLX Developers Guide

Previous Topic

Next Topic

Starting a transaction

The BeginTransaction() method starts a new transaction. You will need to decide on logical groups of file updates that can be delimited as transactions.

Record locks are held on updated records for the duration of the transaction, so you don't want to make the transaction group too large or it will consume the system resources. On the other hand, you may not want to make the transaction group too small or the effect of grouping actions is lost.

TOCIndex