This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.SqlTools.
Summary
Executes a sql file against a database
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