AliaSqlExtensions.

AliaSql(ICakeContext, string, string, string, DirectoryPath) Method

Summary

Runs AliaSQL.
Assembly
Cake.AliaSql.dll
Namespace
Cake.AliaSql
Containing Type
AliaSqlExtensions

Syntax

public static void AliaSql(this ICakeContext context, string command, string connectionString, string databaseName, DirectoryPath scriptsPath)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
command string The AliaSql command (ex. Rebuild, Create).
connectionString string The database connection string.
databaseName string The database name.
scriptsPath DirectoryPath The aliasql scripts path.

Return Value

Type Description
void