Cake.DotNetCoreEf

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

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

<package id="Cake.DotNetCoreEf" version="0.10.0" />

dotnet add package Cake.DotNetCoreEf --version 0.10.0

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

Aliases

DatabaseDrop

DatabaseUpdate

MigrationAdd

DotNetCoreEfMigrationAdd(string) Add a migration for the context.
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.

MigrationRemove

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

MigrationScript

DotNetCoreEfMigrationScript(string) Script migration for the context.
DotNetCoreEfMigrationScript(string, DotNetCoreEfMigrationScriptSettings) Script migration for the context with project and arguments.
DotNetCoreEfMigrationScript(string, ProcessArgumentBuilder, DotNetCoreEfMigrationScriptSettings) Script migration for the context with settings.