다음을 통해 공유


RelationalConnection.BeginTransactionAsync 메서드

정의

오버로드

BeginTransactionAsync(CancellationToken)

새 트랜잭션을 비동기적으로 시작합니다.

BeginTransactionAsync(IsolationLevel, CancellationToken)

새 트랜잭션을 비동기적으로 시작합니다.

BeginTransactionAsync(CancellationToken)

Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs

새 트랜잭션을 비동기적으로 시작합니다.

public virtual System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction> BeginTransactionAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member BeginTransactionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction>
override this.BeginTransactionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction>
Public Overridable Function BeginTransactionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IDbContextTransaction)

매개 변수

cancellationToken
CancellationToken

CancellationToken 작업이 완료 될 때까지 기다리는 동안 관찰할 입니다.

반환

비동기 작업(operation)을 나타내는 작업(task)입니다. 작업 결과에는 새로 만든 트랜잭션이 포함됩니다.

구현

예외

적용 대상

BeginTransactionAsync(IsolationLevel, CancellationToken)

Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs
Source:
RelationalConnection.cs

새 트랜잭션을 비동기적으로 시작합니다.

public virtual System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction> BeginTransactionAsync (System.Data.IsolationLevel isolationLevel, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginTransactionAsync : System.Data.IsolationLevel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction>
override this.BeginTransactionAsync : System.Data.IsolationLevel * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction>
Public Overridable Function BeginTransactionAsync (isolationLevel As IsolationLevel, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IDbContextTransaction)

매개 변수

isolationLevel
IsolationLevel

트랜잭션에 사용할 격리 수준입니다.

cancellationToken
CancellationToken

CancellationToken 작업이 완료 될 때까지 기다리는 동안 관찰할 입니다.

반환

비동기 작업(operation)을 나타내는 작업(task)입니다. 작업 결과에는 새로 만든 트랜잭션이 포함됩니다.

구현

예외

적용 대상