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 query against a database
Syntax
public static bool ExecuteSqlQuery(this ICakeContext context, string query, SqlQuerySettings settings)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The cake context. |
| query |
string |
The sql query to execute. |
| settings |
SqlQuerySettings |
The SqlQuerySettings to use to connect with. |
Return Value