共用方式為


ExecutionStrategyDependencies.CurrentDbContext 屬性

定義

對目前 DbContext 實例的間接性。

public Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext CurrentDbContext { get; }
member this.CurrentDbContext : Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext
Public ReadOnly Property CurrentDbContext As ICurrentDbContext

屬性值

Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext

適用於