Summary
Contains settings used by
DotNetCoreEfMigrationAdder.
- Namespace
- Cake
.DotNetCoreEf .Migration - Base Types
-
- DotNetCoreSettings
- DotNetCoreEfSettings
graph BT
Type-->Base0["DotNetCoreEfSettings"]
click Base0 "/Cake.DotNetCoreEf/api/Cake.DotNetCoreEf/DotNetCoreEfSettings"
Base0-->Base1["DotNetCoreSettings"]
Type["DotNetCoreEfMigrationAddSettings"]
class Type type-node
Syntax
public class DotNetCoreEfMigrationAddSettings : DotNetCoreEfSettings
Properties
| Name | Value | Summary |
|---|---|---|
| Configuration | string |
The configuration to use.
Inherited from DotNetCoreEfSettings
|
| Context | string |
The DbContext to use. If omitted, the default DbContext is used.
|
| Environment | string |
The environment to use. If omitted, "Development" is used.
Inherited from DotNetCoreEfSettings
|
| Framework | string |
The target framework.
Inherited from DotNetCoreEfSettings
|
| Help | bool |
Show help information
Inherited from DotNetCoreEfSettings
|
| Json | bool |
Use json output. JSON is wrapped by '//BEGIN' and '//END'
|
| Migration | string |
The target migration. If '0', all migrations will be reverted. If omitted, all pending migrations will be applied
|
| Ms |
string |
The MSBuild project extensions path. Defaults to "obj".
Inherited from DotNetCoreEfSettings
|
| OutputDir | string |
The directory (and sub-namespace) to use. If omitted, "Migrations" is used. Relative paths are relative the directory in which the command is executed.
|
| Project | string |
The project to use.
Inherited from DotNetCoreEfSettings
|
| StartupProject | string |
The startup project to use.
Inherited from DotNetCoreEfSettings
|
Methods
| Name | Value | Summary |
|---|---|---|
| SetProject |
void |
Inherited from DotNetCoreEfSettings
|