SqlQueryAliases.

ExecuteSqlQuery(ICakeContext, string, SqlQuerySettings) Method

Summary

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

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

Type Description
bool