DotNetCoreEfAliases.

DotNetCoreEfDatabaseDrop(ICakeContext, string, DotNetCoreEfDatabaseDropSettings) Method

Summary

Drop the database with path and arguments.
Assembly
Cake.DotNetCoreEf.dll
Namespace
Cake.DotNetCoreEf
Containing Type
DotNetCoreEfAliases

Syntax

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

Examples

var settings = new DotNetCoreEfDatabaseDropSettings
{
    Context = SchoolContext
};

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

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

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

Return Value

Type Description
void