EfCoreToolSettingsExtensions.

FromPath<T>(T, DirectoryPath) Method

Summary

Sets the working directory which should be used to run the ef.dll command.

Syntax

public static T FromPath<T>(this T settings, DirectoryPath path) where T : EfCoreToolSettings

Type Parameters

Name Description
T

Parameters

Name Type Description
settings T The settings.
path DirectoryPath Working directory which should be used to run the ef.dll command.

Return Value

Type Description
T The settings instance with WorkingDirectory set to path.