DotNetCoreEfAliases.

DotNetCoreEfMigrationList(ICakeContext, string, ProcessArgumentBuilder, DotNetCoreEfMigrationListerSettings) Method

Summary

List all migrations
Assembly
Cake.DotNetCoreEf.dll
Namespace
Cake.DotNetCoreEf
Containing Type
DotNetCoreEfAliases

Syntax

public static string DotNetCoreEfMigrationList(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreEfMigrationListerSettings settings)

Examples

     var settings = new DotNetCoreEfMigrationScriptListerSettings
     {
         Context = SchoolContext,
         StartupProject = "./src/MvcProject",
         NoBuild = true
     };

     DotNetCoreEfMigrationScript("./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 DotNetCoreEfMigrationListerSettings The settings.

Return Value

Type Description
string