Язык

RelationalConnection.CurrentTransaction Свойство

Определение

Возвращает текущую транзакцию.

public virtual Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction CurrentTransaction { get; protected set; }
[System.Runtime.CompilerServices.Nullable(2)]
public virtual Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction? CurrentTransaction { get; protected set; }
public virtual Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction? CurrentTransaction { get; protected set; }
member this.CurrentTransaction : Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction with get, set
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.CurrentTransaction : Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction with get, set
Public Overridable Property CurrentTransaction As IDbContextTransaction

Значение свойства

Атрибуты

Применяется к