Click or drag to resize

SessionBaseTransaction Class

Helper object to enable automatic rollback/abort of transaction if transaction isn't committed within it's scope.
Inheritance Hierarchy
SystemObject
  VelocityDb.SessionSessionBaseTransaction

Namespace:  VelocityDb.Session
Assembly:  VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax
public class Transaction : IDisposable

The SessionBaseTransaction type exposes the following members.

Methods
  NameDescription
Public methodCommit
Commits the active transaction
Public methodDispose
If in update transaction; rollback (abort) transaction. If in read only transaction; commit transaction.
Public methodRollback
Aborts the current transaction and rolls it back. Same as Abort
Top
See Also