DotNetCoreEfAliases.

DotNetCoreEfMigrationRemove(ICakeContext, string, ProcessArgumentBuilder, DotNetCoreEfMigrationRemoveSettings) Method

Summary

Remove migrations for the context with settings.
Assembly
Cake.DotNetCoreEf.dll
Namespace
Cake.DotNetCoreEf
Containing Type
DotNetCoreEfAliases

Syntax

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

Examples

     var settings = new DotNetCoreEfMigrationRemoveSettings
     {
         Context = SchoolContext
     };

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

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

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

Return Value

Type Description
void