SqlQueryAliases.

ExecuteSqlFile(ICakeContext, FilePath, SqlQuerySettings) Method

Summary

Executes a sql file against a database
Assembly
Cake.SqlTools.dll
Namespace
Cake.SqlTools
Containing Type
SqlQueryAliases

Syntax

public static bool ExecuteSqlFile(this ICakeContext context, FilePath path, SqlQuerySettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
path FilePath The path to the sql file to execute.
settings SqlQuerySettings The SqlQuerySettings to use to connect with.

Return Value

Type Description
bool