DotNetCoreEfTool<TSettings> Class

Summary

Base class for .NET Core EntityFrameworkCore tools.
graph BT Type-->Base0["DotNetCoreTool<TSettings>"] Type["DotNetCoreEfTool<TSettings>"] class Type type-node Derived0["DotNetCoreEfMigrationScripter"]-->Type click Derived0 "/api/Cake.DotNetCoreEf.Migration/DotNetCoreEfMigrationScripter" Derived1["DotNetCoreEfMigrationLister"]-->Type click Derived1 "/api/Cake.DotNetCoreEf.Migration/DotNetCoreEfMigrationLister" Derived2["DotNetCoreEfMigrationAdder"]-->Type click Derived2 "/api/Cake.DotNetCoreEf.Migration/DotNetCoreEfMigrationAdder" Derived3["DotNetCoreEfMigrationRemover"]-->Type click Derived3 "/api/Cake.DotNetCoreEf.Migration/DotNetCoreEfMigrationRemover" Derived4["DotNetCoreEfDatabaseUpdater"]-->Type click Derived4 "/api/Cake.DotNetCoreEf.Database/DotNetCoreEfDatabaseUpdater" Derived5["DotNetCoreEfDatabaseDropper"]-->Type click Derived5 "/api/Cake.DotNetCoreEf.Database/DotNetCoreEfDatabaseDropper"

Syntax

public class DotNetCoreEfTool<TSettings> : DotNetCoreTool<TSettings> 
    where TSettings : DotNetCoreEfSettings

Type Parameters

Name Description
TSettings

Constructors

Methods

Name Value Summary
CreateArgumentBuilder(TSettings) ProcessArgumentBuilder
Creates a ProcessArgumentBuilder and adds common commandline arguments.

Extension Methods

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