This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.DotNetCoreEf.
Summary
Add a migration for the context with settings.
Syntax
public static void DotNetCoreEfMigrationAdd(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreEfMigrationAddSettings settings)
Examples
var settings = new DotNetCoreEfMigrationAddSettings
{
Context = SchoolContext
};
DotNetCoreEfMigrationAdd("./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 |
DotNetCoreEfMigrationAddSettings |
The settings. |
Return Value