PreviousNext
Help > Easycom .NET > System.Data.EasycomClient namespace > EacTansaction > EacTransaction methods > EacTransaction.Commit
EacTransaction.Commit

 

public virtual new void Commit ( )

 

Commits the transaction. The commit may fail (for example because integrity checks failed), and in this case the transaction is rolled back, and an exception is thrown.

Full details of the exception are available using the EasycomException object.

 

Note: only 'journaled' files are affected by a transaction.

To know if a file is 'journaled' you can use the DSPFD command. To start journaling for a file use STRJRNPF command.