AliaSqlExtensions.

AliaSql(ICakeContext, string, string, string, DirectoryPath, string, string) 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, string username, string password)

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.
username string The username.
password string The password.

Return Value

Type Description
void