DotNetCoreEfSettings Class

Summary

Contains common settings used by DotNetCoreEfTool<TSettings>.
graph BT Type-->Base0["DotNetCoreSettings"] Type["DotNetCoreEfSettings"] class Type type-node Derived0["DotNetCoreEfDatabaseUpdateSettings"]-->Type click Derived0 "/api/Cake.DotNetCoreEf.Database/DotNetCoreEfDatabaseUpdateSettings" Derived1["DotNetCoreEfMigrationAddSettings"]-->Type click Derived1 "/api/Cake.DotNetCoreEf.Migration/DotNetCoreEfMigrationAddSettings" Derived2["DotNetCoreEfMigrationScriptSettings"]-->Type click Derived2 "/api/Cake.DotNetCoreEf.Migration/DotNetCoreEfMigrationScriptSettings" Derived3["DotNetCoreEfMigrationListerSettings"]-->Type click Derived3 "/api/Cake.DotNetCoreEf.Migration/DotNetCoreEfMigrationListerSettings" Derived4["DotNetCoreEfContextSettings"]-->Type click Derived4 "/api/Cake.DotNetCoreEf/DotNetCoreEfContextSettings"

Syntax

public class DotNetCoreEfSettings : DotNetCoreSettings

Constructors

Name Summary
DotNetCoreEfSettings()

Properties

Name Value Summary
Configuration string
The configuration to use.
Environment string
The environment to use. If omitted, "Development" is used.
Framework string
The target framework.
Help bool
Show help information
MsBuildProjectExtensionsPath string
The MSBuild project extensions path. Defaults to "obj".
Project string
The project to use.
StartupProject string
The startup project to use.

Methods

Name Value Summary
SetProject(string) void

Extension Methods

Name Value Summary
Dump<DotNetCoreEfSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DotNetCoreEfSettings>(DotNetCoreEfSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DotNetCoreEfSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DotNetCoreEfSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DotNetCoreEfSettings>(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<DotNetCoreEfSettings>(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
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin