Cake.EntityFrameworkCore

Cake.EntityFrameworkCore is a set of Cake aliases for working with Entity Framework Core Migrations from an assembly instead of project source files.

#addin nuget:?package=Cake.EntityFrameworkCore&version=2.1.2

dotnet add package Cake.EntityFrameworkCore --version 2.1.2

<PackageReference Include="Cake.EntityFrameworkCore" Version="2.1.2" />

Aliases

Entity Framework Core (ef.dll) Database Update aliases

Database

EfCoreDatabaseUpdate(Action<EfCoreDatabaseUpdateSettings>) Applies any pending migrations to the database using the ef.dll migration tool.
EfCoreDatabaseUpdate(EfCoreDatabaseUpdateSettings) Applies any pending migrations to the database using the ef.dll migration tool.