EntityFramework Core

1,安装EF Core

在.csproj中添加一下配置,用于使用dotnet ef 命令

<ItemGroup>
  <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" />
</ItemGroup>
DotNetCliToolReference

2, 

猜你喜欢

转载自www.cnblogs.com/zd1994/p/9152609.html