IDataAccessAdapterStartTransaction Method |
Starts a new transaction. All database activity after this call will be ran in this transaction and all objects will participate
in this transaction until its committed or rolled back.
If there is a transaction in progress, an exception is thrown.
Will create and open a new connection if a transaction is not open and/or available.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax void StartTransaction(
IsolationLevel isolationLevelToUse,
string name
)
Sub StartTransaction (
isolationLevelToUse As IsolationLevel,
name As String
)
Parameters
- isolationLevelToUse
- Type: System.DataIsolationLevel
The isolation level to use for this transaction - name
- Type: SystemString
The name for this transaction
Exceptions See Also