Ef6Settings Class

Summary

LibMan tool settings
Assembly
Cake.EntityFramework6.dll
Namespace
Cake.EntityFramework6
Base Types
  • ToolSettings
Derived Types
graph BT Type-->Base0["ToolSettings"] Type["Ef6Settings"] class Type type-node Derived0["Ef6DatabaseUpdateSettings"]-->Type click Derived0 "/api/Cake.EntityFramework6.Database/Ef6DatabaseUpdateSettings"

Syntax

public abstract class Ef6Settings : ToolSettings

Constructors

Name Summary
Ef6Settings(string) Initializes a new instance of the Ef6Settings class.

Properties

Name Value Summary
Command string
Gets the command which should be run.
NoColor bool
Gets or Sets whether to colorize the output.
PrefixOutput bool
Gets or sets whether to prefix the output level
RedirectStandardError bool
Gets or sets the process option to redirect standard error
RedirectStandardOutput bool
Gets or sets the process option to redirect standard output
Verbose bool
Gets or Sets whether to show Verbose output
Version bool
Gets or Sets whether to show the version of Entity Framework.

Methods

Name Value Summary
EvaluateCore(ProcessArgumentBuilder) void
Evaluates the settings and writes them to args.

Extension Methods

Name Value Summary
Dump<Ef6Settings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
FromPath(DirectoryPath) Ef6Settings
Sets the working directory which should be used to run the ef6.exe command.
Requires the Cake.EntityFramework6 addin
IsIn<Ef6Settings>(Ef6Settings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<Ef6Settings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<Ef6Settings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
SetNoColor() Ef6Settings
Sets the no color output for Entity Framework output (e.g. - Don't colorize output).
Requires the Cake.EntityFramework6 addin
SetPrefixOutput() Ef6Settings
Sets the Prefix Out with level for the e6.exe. (e.g. - Prefix output with level.).
Requires the Cake.EntityFramework6 addin
SetVerbose() Ef6Settings
Sets the verbose output for Entity Framework output. (e.g. - Show verbose output).
Requires the Cake.EntityFramework6 addin
SetVersion() Ef6Settings
Sets the version to show for the e6.exe. (e.g. - Show version information).
Requires the Cake.EntityFramework6 addin
ThrowIfNull<Ef6Settings>(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<Ef6Settings>(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