Summary
Contains settings used by
DotNetCoreEfMigrationScripter
.
- 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["DotNetCoreEfMigrationScriptSettings"]
class Type type-node
Syntax
public class DotNetCoreEfMigrationScriptSettings : 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
|
From | string |
The starting migration. If omitted, '0' (the initial database) is used.
|
Help | bool |
Show help information
Inherited from DotNetCoreEfSettings
|
Idempotent | bool |
Generates an idempotent script that can used on a database at any migration.
|
Ms |
string |
The MSBuild project extensions path. Defaults to "obj".
Inherited from DotNetCoreEfSettings
|
NoBuild | bool |
Gets or sets a value indicating whether to not to build the project before publishing.
This makes build faster, but requires build to be done before publish is executed.
|
Output | string |
The file to write the script to instead of stdout.
|
Project | string |
The project to use.
Inherited from DotNetCoreEfSettings
|
StartupProject | string |
The startup project to use.
Inherited from DotNetCoreEfSettings
|
To | string |
The ending migration. If omitted, the last migration is used.
|
Methods
Name | Value | Summary |
---|---|---|
SetProject |
void |
Inherited from DotNetCoreEfSettings
|