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.EntityFrameworkCore.
Summary
Contains settings used by
EfCoreDatabaseUpdateTool
.
- Assembly
- Cake
.EntityFrameworkCore .dll - Namespace
- Cake
.EntityFrameworkCore .Database - Base Types
-
- DotNetSettings
- EfCoreToolSettings
graph BT
Type-->Base0["EfCoreToolSettings"]
click Base0 "/api/Cake.EntityFrameworkCore/EfCoreToolSettings"
Base0-->Base1["DotNetSettings"]
Type["EfCoreDatabaseUpdateSettings"]
class Type type-node
Syntax
public class EfCoreDatabaseUpdateSettings : EfCoreToolSettings
Constructors
Name | Summary |
---|---|
Ef |
Properties
Name | Value | Summary |
---|---|---|
DbContextClassName | string |
Class name for the DbContext that controls the migrations to deploy
Inherited from EfCoreToolSettings
|
Migration | string |
The target migration. If '0', all migrations will be reverted. Defaults to the last migration.
|
MigrationDll | string |
Filename of the DLL that contains your migrations.
Inherited from EfCoreToolSettings
|
MigrationsNamespace | string |
.NET namespace for the DbContext class. 'Benday.Demo123.Api.dll
Inherited from EfCoreToolSettings
|
NoColor | bool |
Gets or Sets whether to colorize the output.
Inherited from EfCoreToolSettings
|
PrefixOutput | bool |
Prefix output with level.
Inherited from EfCoreToolSettings
|
StartupDll | string |
Filename of the DLL that is the startup DLL for this published application
Inherited from EfCoreToolSettings
|
Verbose | bool |
Gets or Sets whether to show Verbose output
Inherited from EfCoreToolSettings
|
Version | bool |
Gets or Sets whether to show the version of Entity Framework.
Inherited from EfCoreToolSettings
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
FromPath |
T |
Sets the working directory which should be used to run the ef.dll command.
Requires the Cake.EntityFrameworkCore 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 Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
SetDbContextClass |
T |
Requires the Cake.EntityFrameworkCore addin
|
SetMigrationsDll |
T |
Requires the Cake.EntityFrameworkCore addin
|
Set |
T |
Requires the Cake.EntityFrameworkCore addin
|
SetNoColor |
T |
Sets the no color output for Entity Framework output (e.g. - Don't colorize output).
Requires the Cake.EntityFrameworkCore addin
|
SetPrefixOutput |
T |
Sets the Prefix Out with level for the ef.dll. (e.g. - Prefix output with level.).
Requires the Cake.EntityFrameworkCore addin
|
SetStartupDll |
T |
Requires the Cake.EntityFrameworkCore addin
|
SetTargetMigration |
Ef |
Sets a named target migration to migrate the database too.
Requires the Cake.EntityFrameworkCore addin
|
SetVerbose |
T |
Sets the verbose output for Entity Framework output. (e.g. - Show verbose output).
Requires the Cake.EntityFrameworkCore addin
|
SetVersion |
T |
Sets the to display version information in console output
Requires the Cake.EntityFrameworkCore 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
|