otherwise.
Connection.beginTransaction
bool beginTransaction(string name, gda.types.TransactionIsolation level)Starts a transaction on the data source, identified by the name parameter.
Before starting a transaction, you can check whether the underlying provider does support transactions or not by using the [gda.connection.Connection.supportsFeature] function.
Parameters
name | the name of the transation to start, or null |
level | the requested transaction level (GDA_TRANSACTION_ISOLATION_UNKNOWN if not specified) |
Returns
true if the transaction was started successfully, false
Throws
[ConnectionException]