SqlQueryAliases Class

Summary

Contains Cake aliases for executing sql queries
Assembly
Cake.SqlTools.dll
Namespace
Cake.SqlTools
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SqlQueryAliases"] class Type type-node

Syntax

public static class SqlQueryAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
ExecuteSqlFile(ICakeContext, FilePath, SqlQuerySettings) bool
Executes a sql file against a database
static
ExecuteSqlQuery(ICakeContext, string, SqlQuerySettings) bool
Executes a sql query against a database
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin