共用方式為


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

適用於