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
Contains settings used by
DotNetCoreEfMigrationRemover
.
- Assembly
- Cake
.DotNetCoreEf .dll - Namespace
- Cake
.DotNetCoreEf .Migration - Base Types
-
- DotNetCoreSettings
- DotNetCoreEfSettings
- Dot
Net Core Ef Context Settings
graph BT
Type-->Base0["DotNetCoreEfContextSettings"]
click Base0 "/api/Cake.DotNetCoreEf/DotNetCoreEfContextSettings"
Base0-->Base1["DotNetCoreEfSettings"]
click Base1 "/api/Cake.DotNetCoreEf/DotNetCoreEfSettings"
Base1-->Base2["DotNetCoreSettings"]
Type["DotNetCoreEfMigrationRemoveSettings"]
class Type type-node
Syntax
public class DotNetCoreEfMigrationRemoveSettings : DotNetCoreEfContextSettings
Constructors
Name | Summary |
---|---|
Dot |
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.
Inherited from Dot
|
Environment | string |
The environment to use. If omitted, "Development" is used.
Inherited from DotNetCoreEfSettings
|
Force | bool |
Removes the last migration without checking the database. If the last migration has been applied to the database, you will need to manually reverse the changes it made
Inherited from Dot
|
Framework | string |
The target framework.
Inherited from DotNetCoreEfSettings
|
Help | bool |
Show help information
Inherited from DotNetCoreEfSettings
|
Ms |
string |
The MSBuild project extensions path. Defaults to "obj".
Inherited from DotNetCoreEfSettings
|
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
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|