RoundhouseAliases.

RoundhouseMigrate(ICakeContext, RoundhouseSettings) Method

Summary

Executes Roundhouse with the given configured settings.

Syntax

[CakeMethodAlias]
public static void RoundhouseMigrate(this ICakeContext context, RoundhouseSettings settings)

Examples

RoundhouseMigrate(new RoundhouseSettings{
    ServerName = "Sql2008R2",
    DatabaseName = "AdventureWorks2008R2",
    SqlFilesDirectory = "./src/sql"
    });

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
settings RoundhouseSettings The settings.

Return Value

Type Description
void