Scalable Database Server, HiRDB Version 8 UAP Development Guide
(1) Constructor
(a) HiRDBTransaction
- void HiRDBTransaction (Hitachi.HiRDB.HiRDBConnection)
- Argument
- HiRDBConnection rConnection: Connection object (Connection property)
- Description: Initializes a new instance of the HiRDBTransaction class.
- void HiRDBTransaction (Hitachi.HiRDB.HiRDBConnection, System.Data.IsolationLevel)
- Arguments
- HiRDBConnection rConnection: Connection object (Connection property)
- System.Data.IsolationLevel eIsolationLevel: Transaction lock operation (IsolationLevel property)
- Description: Initializes a new instance of the HiRDBTransaction class.
(2) 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: IsolationLevel.ReadCommitted
- Description: Specifies this transaction's IsolationLevel (read only).
(3) 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) 2007, Hitachi, Ltd.