UniDAC

TUniTransaction Members

TUniTransaction class overview.

Properties

Name Description

Active (inherited from TDATransaction)

Used to determine if the transaction is active.

Connections

Used to specify a connection for the given index.

ConnectionsCount

Used to get the number of connections associated with the transaction component.

DefaultCloseAction (inherited from TDATransaction)

Used to specify the transaction behaviour when it is destroyed while being active, or when one of its connections is closed with the active transaction.

IsolationLevel

Used to specify how the transactions containing database modifications are handled.

Methods

Name Description

AddConnection

Binds a TCustomDAConnection object with the transaction component.

Commit (inherited from TDATransaction)

Commits the current transaction.

CommitRetaining

Stores to the database server all changes of data associated with the transaction permanently and then retains the transaction context.

RemoveConnection

Disassiciates the specified connections from the transaction.

Rollback (inherited from TDATransaction)

Discards all modifications of data associated with the current transaction and ends the transaction.

RollbackRetaining

Rolls back all data changes associated with the transaction and retains the transaction context.

StartTransaction (inherited from TDATransaction)

Begins a new transaction.

Events

Name Description

OnCommit (inherited from TDATransaction)

Occurs after the transaction has been successfully committed.

OnCommitRetaining (inherited from TDATransaction)

Occurs after CommitRetaining has been executed.

OnError (inherited from TDATransaction)

Used to process errors that occur during executing a transaction.

OnRollback (inherited from TDATransaction)

Occurs after the transaction has been successfully rolled back.

OnRollbackRetaining (inherited from TDATransaction)

Occurs after RollbackRetaining has been executed.
© 1997-2020 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback