IRelationalConnection.CurrentTransaction Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft die aktuelle Transaktion ab.
public Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction CurrentTransaction { get; }
[System.Runtime.CompilerServices.Nullable(2)]
public Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction? CurrentTransaction { get; }
public Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction? CurrentTransaction { get; }
member this.CurrentTransaction : Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.CurrentTransaction : Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction
Public ReadOnly Property CurrentTransaction As IDbContextTransaction
Eigenschaftswert
Implementiert
- Attribute