Cake.DotNetCoreEf

Cake Build addin for using the .NET Core EntityFrameworkCore command line interface (CLI)

#addin nuget:?package=Cake.DotNetCoreEf&version=1.0.0

dotnet add package Cake.DotNetCoreEf --version 1.0.0

<PackageReference Include="Cake.DotNetCoreEf" Version="1.0.0" />

Aliases

DatabaseDrop

DatabaseUpdate

MigrationAdd

DotNetCoreEfMigrationAdd(string, DotNetCoreEfMigrationAddSettings) Add a migration for the context with project and arguments.
DotNetCoreEfMigrationAdd(string, ProcessArgumentBuilder, DotNetCoreEfMigrationAddSettings) Add a migration for the context with settings.
DotNetCoreEfMigrationAdd(string) Add a migration for the context.

MigrationRemove

DotNetCoreEfMigrationRemove(string, DotNetCoreEfMigrationRemoveSettings) Remove migrations for the context with project and arguments.
DotNetCoreEfMigrationRemove(string, ProcessArgumentBuilder, DotNetCoreEfMigrationRemoveSettings) Remove migrations for the context with settings.
DotNetCoreEfMigrationRemove(string) Remove migrations for the context.

MigrationScript