jpoehls edited this page Aug 29, 2010 · 2 revisions

GenerateScriptCommand Class

Namespace: DotNetMigrations.Commands
Access: Internal
Inherits/Implements: CommandBase (abstract class)


The GenerateScriptCommand class is used to create a new, unique migration script in the folder specified in the configuration file with the key of “migrateFolder”. If the folder is not located in the configuration file, the directory “.\migrate\” will be used instead.


  • db.exe generate migrationName