DotNetCoreEfAliases.

DotNetCoreEfDatabaseDrop(ICakeContext, string, ProcessArgumentBuilder, DotNetCoreEfDatabaseDropSettings) Method

Summary

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

Syntax

public static void DotNetCoreEfDatabaseDrop(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreEfDatabaseDropSettings settings)

Examples

     var settings = new DotNetCoreEfDatabaseDropSettings
     {
         Context = SchoolContext
     };

     DotNetCoreEfDatabaseDrop("./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 DotNetCoreEfDatabaseDropSettings The settings.

Return Value

Type Description
void