DotNetCoreEfAliases.

DotNetCoreEfMigrationScript(ICakeContext, string, ProcessArgumentBuilder, DotNetCoreEfMigrationScriptSettings) Method

Summary

Script migration for the context with settings.
Assembly
Cake.DotNetCoreEf.dll
Namespace
Cake.DotNetCoreEf
Containing Type
DotNetCoreEfAliases

Syntax

public static void DotNetCoreEfMigrationScript(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreEfMigrationScriptSettings settings)

Examples

     var settings = new DotNetCoreEfMigrationScriptSettings
     {
         Context = SchoolContext
     };

     DotNetCoreEfMigrationScript("./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 DotNetCoreEfMigrationScriptSettings The settings.

Return Value

Type Description
void