TransactionBaseStartAsync Method |
Starts the transaction if it hasn't been started yet.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax protected Task<DbTransaction> StartAsync(
IsolationLevel transactionIsolationLevel,
string name,
CancellationToken cancellationToken
)
Protected Function StartAsync (
transactionIsolationLevel As IsolationLevel,
name As String,
cancellationToken As CancellationToken
) As Task(Of DbTransaction)
Parameters
- transactionIsolationLevel
- Type: System.DataIsolationLevel
- name
- Type: SystemString
- cancellationToken
- Type: System.ThreadingCancellationToken
Return Value
Type:
TaskDbTransactionSee Also