运行dotnet ef迁移时,Pomelo.EntityFrameworkCore.MySql包没有实现添加InitialCreate吗?

时间:2020-09-09 15:20:59

标签: c# entity-framework .net-core

我使用<form class="example-form" [formGroup]="docForm" (keyup.enter)="docForm.valid && docForm.dirty && update()">

安装了该工具

我一直收到dotnet install dotnet-ef --global作为警告消息,尽管运行The EF Core tools version '3.1.8' is older than that of the runtime '5.0.0-preview.8.20407.4'. Update the tools for the latest features and bug fixes.时说我正在使用最新的稳定版本。

异常消息

dotnet update dotnet-ef --global

软件包和版本

System.TypeLoadException: Method 'Create' in type 'Pomelo.EntityFrameworkCore.MySql.Query.ExpressionVisitors.Internal.MySqlSqlTranslatingExpressionVisitorFactory' from assembly 'Pomelo.EntityFrameworkCore.MySql, Version=3.1.2.0, Culture=neutral, PublicKeyToken=2cc498582444921b' does not have an implementation.

我正在将.NET Core 3.1与ASP.NET Web API结合使用。

0 个答案:

没有答案