DotNetCoreEfAliases.

DotNetCoreEfDatabaseUpdate(ICakeContext, string, ProcessArgumentBuilder, DotNetCoreEfDatabaseUpdateSettings) Method

Summary

Update the database with settings.
Assembly
Cake.DotNetCoreEf.dll
Namespace
Cake.DotNetCoreEf
Containing Type
DotNetCoreEfAliases

Syntax

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

Examples

     var settings = new DotNetCoreEfDatabaseUpdateSettings
     {
         Context = SchoolContext
     };

     DotNetCoreEfDatabaseUpdate("./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 DotNetCoreEfDatabaseUpdateSettings The settings.

Return Value

Type Description
void