Aracılığıyla paylaş


RelationalTransactionFactory.Create Yöntem

Tanım

Aşırı Yüklemeler

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

Bir RelationalTransaction örnek oluşturur.

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

Bir RelationalTransaction örnek oluşturur.

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

Kaynak:
RelationalTransactionFactory.cs
Kaynak:
RelationalTransactionFactory.cs

Bir RelationalTransaction örnek oluşturur.

public virtual 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
override this.Create : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbTransaction * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTransaction
Public Overridable Function Create (connection As IRelationalConnection, transaction As DbTransaction, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), transactionOwned As Boolean) As RelationalTransaction

Parametreler

connection
IRelationalConnection

Veritabanı bağlantısı.

transaction
DbTransaction

Temel alınan DbTransaction.

transactionOwned
Boolean

İşlemin bu sınıfa ait olup olmadığını belirten bir değer (örneğin, bu sınıf atıldığında atılabilirse).

Döndürülenler

Yeni RelationalTransaction bir örnek.

Uygulamalar

Şunlara uygulanır

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

Kaynak:
RelationalTransactionFactory.cs
Kaynak:
RelationalTransactionFactory.cs
Kaynak:
RelationalTransactionFactory.cs
Kaynak:
RelationalTransactionFactory.cs
Kaynak:
RelationalTransactionFactory.cs
Kaynak:
RelationalTransactionFactory.cs
Kaynak:
RelationalTransactionFactory.cs

Bir RelationalTransaction örnek oluşturur.

public virtual 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
override this.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 Overridable Function Create (connection As IRelationalConnection, transaction As DbTransaction, transactionId As Guid, logger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction), transactionOwned As Boolean) As RelationalTransaction

Parametreler

connection
IRelationalConnection

Veritabanı bağlantısı.

transaction
DbTransaction

Temel alınan DbTransaction.

transactionId
Guid

Bu işlemin benzersiz bağıntı kimliği.

transactionOwned
Boolean

İşlemin bu sınıfa ait olup olmadığını belirten bir değer (örneğin, bu sınıf atıldığında atılabilirse).

Döndürülenler

Yeni RelationalTransaction bir örnek.

Uygulamalar

Şunlara uygulanır