使用 EF Core Power 工具问题对我的模型进行逆向工程

Reverse engineer my models using EF Core Power tools issues

我正在创建一个应用程序并决定使用 EF 6。到目前为止我只使用过 EF Core。我想先做数据库并使用 EF 6 电动工具。但是,当我下载并安装 EF 6 power tools 时,我在 Visual Studio 中看到一个条目显示 EF Core Power tools。这是为什么?我似乎无法从 NuGet 包管理器安装 EF 6 Powertools。我必须下载 VSIX 并安装它。

此外,当我使用 EF Core 强大工具对使用 EF Core 强大工具的模型进行逆向工程时,我收到以下错误:实体红色下划线错误:

no overload for method e'Entity' takes 1 arguments.

这是我流畅的 api 语法的问题吗?

modelBuilder.Entity<MyEntity>(entity =>
        {
            entity.HasKey(e => e.MyEntity_ID);

            entity.Property(e => e.FieldName)
                .IsRequired()
                .HasMaxLength(6);
        });

对于 EF6,使用适用于 Visual Studio 2015 及更新版本的 EF 6 Power Tools Community Edition

“EF Core Power Tools”设计用于 EF Core,而非 EF6。