Nonstop Database, HiRDB Version 9 UAP Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
(1) Properties
(a) Connection
- Type: HiRDBConnection
- Default value: null
- Description: Specifies the HiRDBConnection object used to associate a transaction (read only).
(b) IsCompleted
- Type: bool
- Default value: false
- Description: Acquires a value indicating whether or not the transaction is completed (read only). If the transaction is completed, the value is true; if not, the value is false.
(c) IsolationLevel
- Type: System.Data.IsolationLevel
- Default value:
- When the supported ADO.NET version is 1.1: IsolationLevel.ReadCommitted
- When the supported ADO.NET version is 2.0: IsolationLevel.RepeatableRead
- Description: Specifies this transaction's IsolationLevel (read only).
(2) Methods
(a) Commit
void Commit ()
- Return: void
- Description: Commits a database transaction.
- Exception: HiRDBException
(b) Rollback
void Rollback ()
- Return: void
- Description: Rolls back a database transaction from the hold status.
- Exception: HiRDBException
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.