IAdgTransaction interface | QSYS API Reference Guide
Defines the contract for a transaction in the ASNA DataGate client.
Namespace: ASNA.DataGate.Client Assembly: ASNA.QSys.DataGate.Client.dll
Extends: IDisposable
Thread Safety
Instance members of this type are not guaranteed to be thread safe.
Remarks
This interface is used to manage transactions in the ASNA DataGate client. It provides methods for committing and rolling back transactions, and properties to get the connection and transaction level details.
Properties
Type | Name | Description |
---|---|---|
AdgConnection | Connection | Gets the connection associated with the transaction. |
String | Name | Gets the name of the transaction. |
TransactionLevel | TransactionLevel | Gets the transaction level for the current transaction. |
Methods
Signature | Description |
---|---|
Commit() | Commits the current transaction. |
Commit(String) | Commits the current transaction with a specified transaction name. |
Rollback() | Rolls back the current transaction. |
void Commit()
Commits the current transaction.
void Commit()
void Commit(string TransactionName)
Commits the current transaction with a specified transaction name.
void Commit(string TransactionName)
Parameters
Type | Parameter name | Description |
---|---|---|
String | TransactionName | The name of the transaction to commit. |
void Rollback()
Rolls back the current transaction.
void Rollback()