FluentMigratorAliases.

FluentMigrator(ICakeContext, string, string, FilePath) Method

Summary

Executes FluentMigrator using the specified parameters.

Syntax

public static void FluentMigrator(this ICakeContext context, string connection, string provider, FilePath assembly)

Examples

FluentMigrator("Data Source=.\\sqlexpress;Initial Catalog=DataBase;integrated security=true",
    "sqlserver",
    "./My.Migrations/bin/Debug/My.Migrations.dll");

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
connection string The connection string.
provider string The provider.
assembly FilePath The path to the assembly.

Return Value

Type Description
void