NPersistence Reference Guide
The EntityTransaction type exposes the following methods.
Methods
![]() ![]() | ![]() ![]() | ![]() ![]() | ![]() ![]() |
Member | Description | |
---|---|---|
![]() | Begin()()()() |
Start a resource transaction. |
![]() | Commit()()()() |
Commit the current resource transaction, writing any
unflushed changes to the database. |
![]() | GetRollbackOnly()()()() |
Determine whether the current resource transaction has been
marked for rollback.
Return Valueboolean indicating whether the transaction has been marked for rollback |
![]() | IsActive()()()() |
Indicate whether a resource transaction is in progress. |
![]() | Rollback()()()() |
Roll back the current resource transaction. |
![]() | SetRollbackOnly()()()() |
Mark the current resource transaction so that the only
possible outcome of the transaction is for the transaction
to be rolled back. |