다음을 통해 공유


IRelationalTransactionFactory.Create 메서드

정의

오버로드

Create(IRelationalConnection, DbTransaction, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean)

RelationalTransaction 인스턴스를 만듭니다.

Create(IRelationalConnection, DbTransaction, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean)

RelationalTransaction 인스턴스를 만듭니다.

Create(IRelationalConnection, DbTransaction, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean)

RelationalTransaction 인스턴스를 만듭니다.

public Microsoft.EntityFrameworkCore.Storage.RelationalTransaction Create (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbTransaction transaction, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> logger, bool transactionOwned);
abstract member Create : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTransaction
Public Function Create (connection As IRelationalConnection, transaction As DbTransaction, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), transactionOwned As Boolean) As RelationalTransaction

매개 변수

connection
IRelationalConnection

데이터베이스에 대한 연결입니다.

transaction
DbTransaction

내부 DbTransaction입니다.

transactionOwned
Boolean

트랜잭션이 이 클래스에 의해 소유되는지 여부를 나타내는 값입니다(즉, 이 클래스가 삭제될 때 삭제될 수 있는 경우).

반환

RelationalTransaction 인스턴스입니다.

적용 대상

Create(IRelationalConnection, DbTransaction, Guid, IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>, Boolean)

RelationalTransaction 인스턴스를 만듭니다.

public Microsoft.EntityFrameworkCore.Storage.RelationalTransaction Create (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbTransaction transaction, Guid transactionId, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> logger, bool transactionOwned);
abstract member Create : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Guid * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTransaction
Public Function Create (connection As IRelationalConnection, transaction As DbTransaction, transactionId As Guid, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), transactionOwned As Boolean) As RelationalTransaction

매개 변수

connection
IRelationalConnection

데이터베이스에 대한 연결입니다.

transaction
DbTransaction

내부 DbTransaction입니다.

transactionId
Guid

이 트랜잭션의 고유 상관 관계 ID입니다.

transactionOwned
Boolean

트랜잭션이 이 클래스에 의해 소유되는지 여부를 나타내는 값입니다(즉, 이 클래스가 삭제될 때 삭제될 수 있는 경우).

반환

RelationalTransaction 인스턴스입니다.

적용 대상