EfCoreToolSettingsExtensions Class

Summary

Assembly
Cake.EntityFrameworkCore.dll
Namespace
Cake.EntityFrameworkCore
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["EfCoreToolSettingsExtensions"] class Type type-node

Syntax

public static class EfCoreToolSettingsExtensions

Methods

Name Value Summary
FromPath<T>(T, DirectoryPath) T
Sets the working directory which should be used to run the ef.dll command.
static
SetDbContextClass<T>(T, string) T
static
SetMigrationsDll<T>(T, string) T
static
SetMigrationsNamespace<T>(T, string) T
static
SetNoColor<T>(T) T
Sets the no color output for Entity Framework output (e.g. - Don't colorize output).
static
SetPrefixOutput<T>(T) T
Sets the Prefix Out with level for the ef.dll. (e.g. - Prefix output with level.).
static
SetStartupDll<T>(T, string) T
static
SetVerbose<T>(T) T
Sets the verbose output for Entity Framework output. (e.g. - Show verbose output).
static
SetVersion<T>(T) T
Sets the to display version information in console output
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin