MigrationsScaffolderDependencies.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

适用于