EfCoreToolSettings Class

Summary

Ef Core Tool Basic Settings
Assembly
Cake.EntityFrameworkCore.dll
Namespace
Cake.EntityFrameworkCore
Base Types
  • DotNetSettings
Derived Types
graph BT Type-->Base0["DotNetSettings"] Type["EfCoreToolSettings"] class Type type-node Derived0["EfCoreDatabaseUpdateSettings"]-->Type click Derived0 "/api/Cake.EntityFrameworkCore.Database/EfCoreDatabaseUpdateSettings"

Syntax

public class EfCoreToolSettings : DotNetSettings

Constructors

Name Summary
EfCoreToolSettings()

Properties

Name Value Summary
DbContextClassName string
Class name for the DbContext that controls the migrations to deploy
MigrationDll string
Filename of the DLL that contains your migrations.
MigrationsNamespace string
.NET namespace for the DbContext class. 'Benday.Demo123.Api.dll
NoColor bool
Gets or Sets whether to colorize the output.
PrefixOutput bool
Prefix output with level.
StartupDll string
Filename of the DLL that is the startup DLL for this published application
Verbose bool
Gets or Sets whether to show Verbose output
Version bool
Gets or Sets whether to show the version of Entity Framework.

Extension Methods

Name Value Summary
Dump<EfCoreToolSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
FromPath<EfCoreToolSettings>(DirectoryPath) T
Sets the working directory which should be used to run the ef.dll command.
Requires the Cake.EntityFrameworkCore addin
IsIn<EfCoreToolSettings>(EfCoreToolSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<EfCoreToolSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<EfCoreToolSettings>(string) void
Requires the Cake.Issues addin
SetDbContextClass<EfCoreToolSettings>(string) T
Requires the Cake.EntityFrameworkCore addin
SetMigrationsDll<EfCoreToolSettings>(string) T
Requires the Cake.EntityFrameworkCore addin
SetMigrationsNamespace<EfCoreToolSettings>(string) T
Requires the Cake.EntityFrameworkCore addin
SetNoColor<EfCoreToolSettings>() T
Sets the no color output for Entity Framework output (e.g. - Don't colorize output).
Requires the Cake.EntityFrameworkCore addin
SetPrefixOutput<EfCoreToolSettings>() T
Sets the Prefix Out with level for the ef.dll. (e.g. - Prefix output with level.).
Requires the Cake.EntityFrameworkCore addin
SetStartupDll<EfCoreToolSettings>(string) T
Requires the Cake.EntityFrameworkCore addin
SetVerbose<EfCoreToolSettings>() T
Sets the verbose output for Entity Framework output. (e.g. - Show verbose output).
Requires the Cake.EntityFrameworkCore addin
SetVersion<EfCoreToolSettings>() T
Sets the to display version information in console output
Requires the Cake.EntityFrameworkCore addin
ThrowIfNull<EfCoreToolSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<EfCoreToolSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin