DotNetCoreEfAliases.

DotNetCoreEfMigrationScript(ICakeContext, string, DotNetCoreEfMigrationScriptSettings) Method

Summary

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

Syntax

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

Examples

var settings = new DotNetCoreEfMigrationScriptSettings
{
    Context = SchoolContext
};

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

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

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

Return Value

Type Description
void