DotNetCoreEfAliases.

DotNetCoreEfMigrationRemove(ICakeContext, string, DotNetCoreEfMigrationRemoveSettings) Method

Summary

Remove migrations for the context with project and arguments.
Assembly
Cake.DotNetCoreEf.dll
Namespace
Cake.DotNetCoreEf
Containing Type
DotNetCoreEfAliases

Syntax

public static void DotNetCoreEfMigrationRemove(this ICakeContext context, string project, DotNetCoreEfMigrationRemoveSettings settings)

Examples

var settings = new DotNetCoreEfMigrationRemoveSettings
{
    Context = SchoolContext
};

DotNetCoreEfMigrationRemove("./src/Project", settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.
project string The project path.
settings DotNetCoreEfMigrationRemoveSettings

Return Value

Type Description
void