次の方法で共有


RelationalConnectionDependencies.CurrentContext プロパティ

定義

現在使用中のインスタンスが DbContext 含まれます。

public Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext CurrentContext { get; }
public Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext CurrentContext { get; init; }
member this.CurrentContext : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext
member this.CurrentContext : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext with get, set
Public ReadOnly Property CurrentContext As ICurrentDbContext
Public Property CurrentContext As ICurrentDbContext

プロパティ値

適用対象