EntityDAC

TEntityConnection.CommitTransaction Method

Commits the current transaction.

Class

TEntityConnection

Syntax

procedure CommitTransaction;

Remarks

Call the CommitTransaction method to commit current transaction. On commit server writes permanently all pending data updates associated with the current transaction to the database and then ends the transaction. The current transaction is the last transaction started by calling StartTransaction. To cancel all changes made within the current transaction, the RollbackTransaction method is used. To check whether the current transaction is active, the InTransaction property is used. When no active transactions present, the CommitTransaction method raises an exception.

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback