EfMigrator.

GenerateScriptForVersion(string) Method

Summary

Generates a script from the data store to the specific version
Namespace
Cake.EntityFramework.Migrator
Containing Type
EfMigrator

Syntax

public string GenerateScriptForVersion(string version)

Parameters

Name Type Description
version string Name of the migration to generate a script to

Return Value

Type Description
string true if migration was successful, otherwise false