Cake.SqlTools

Cake Build addin for executing sql scripts against a database

#addin nuget:?package=Cake.SqlTools&version=1.0.2

dotnet add package Cake.SqlTools --version 1.0.2

<PackageReference Include="Cake.SqlTools" Version="1.0.2" />

Aliases

Contains Cake aliases for executing sql queries

General

ExecuteSqlFile(FilePath, SqlQuerySettings) Executes a sql file against a database
ExecuteSqlQuery(string, SqlQuerySettings) Executes a sql query against a database