IEfMigrator.

GenerateScriptForVersion(string) Method

Summary

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

Syntax

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