$ dotnet add package Microsoft.EntityFrameworkCore $ dotnet add package Microsoft.EntityFrameworkCore.Tools $ dotnet add package Microsoft.EntityFrameworkCore.Sqlite $ dotnet add package Microsoft.EntityFrameworkCore.Sqlite.Design
<ItemGroup> <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" /> </ItemGroup>
$ dotnet restore
$ dotnet ef migrations add Initial $ dotnet ef database update