DotNetCoreEfAliases.

DotNetCoreEfDatabaseUpdate(ICakeContext, string, DotNetCoreEfDatabaseUpdateSettings) Method

Summary

Update the database with project and arguments.
Assembly
Cake.DotNetCoreEf.dll
Namespace
Cake.DotNetCoreEf
Containing Type
DotNetCoreEfAliases

Syntax

public static void DotNetCoreEfDatabaseUpdate(this ICakeContext context, string project, DotNetCoreEfDatabaseUpdateSettings settings)

Examples

var settings = new DotNetCoreEfDatabaseUpdateSettings
{
    Context = SchoolContext
};

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

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

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

Return Value

Type Description
void