Ef6Tool<TSettings> Class

Summary

Base class for all ef6 tools.
Assembly
Cake.EntityFramework6.dll
Namespace
Cake.EntityFramework6
Base Types
Derived Types
graph BT Type-->Base0["Tool<TSettings>"] Type["Ef6Tool<TSettings>"] class Type type-node Derived0["Ef6DatabaseUpdateTool"]-->Type click Derived0 "/api/Cake.EntityFramework6.Database/Ef6DatabaseUpdateTool"

Syntax

public abstract class Ef6Tool<TSettings> : Tool<TSettings> where TSettings : Ef6Settings

Type Parameters

Name Description
TSettings The settings type.

Constructors

Properties

Name Value Summary
CakeLog ICakeLog
Cake log instance.

Methods

Name Value Summary
GetArguments(TSettings) ProcessArgumentBuilder
Builds the arguments for ef6.
GetToolExecutableNames() IEnumerable<string>
Gets the possible names of the tool executable.
GetToolName() string
Gets the name of the tool.
RunCore(TSettings) void
Runs libman.
RunCore(TSettings, ProcessSettings, Action<IProcess>) void
Runs ef6 cli.

Extension Methods

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