FluentMigratorAliases.

FluentMigrator(ICakeContext, FluentMigratorSettings) Method

Summary

Executes FluentMigrator using the specified settings.

Syntax

public static void FluentMigrator(this ICakeContext context, FluentMigratorSettings settings)

Examples

FluentMigrator(new FluentMigratorSettings{
    Connection = "Data Source=.\\sqlexpress;Initial Catalog=DataBase;integrated security=true",
    Provider= "sqlserver",
    Assembly = "./My.Migrations/bin/Debug/My.Migrations.dll"
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void