C# Class Affecto.Database.Migrator.DatabaseMigrationApplication

Inheritance: IDatabaseMigrationApplication
ファイルを表示 Open project: affecto/dotnet-Database.Migrator

Public Methods

Method Description
DatabaseMigrationApplication ( Assembly assembly ) : System
Start ( string connectionStringName ) : void
StartWithPrompt ( ) : void

Private Methods

Method Description
AskUserForVersion ( bool allowBlank ) : long?
Execute ( ) : void
GetConnectionStringName ( ) : string
GetDirection ( ) : string
GetMigrationTags ( ) : List
GetRunPopulateScripts ( ) : string
GetRunnerProperties ( string connectionStringName, List migrationTags = null ) : IDatabaseMigrator
GetTargetVersion ( string direction ) : long?

Method Details

DatabaseMigrationApplication() public method

public DatabaseMigrationApplication ( Assembly assembly ) : System
assembly System.Reflection.Assembly
return System

Start() public method

public Start ( string connectionStringName ) : void
connectionStringName string
return void

StartWithPrompt() public method

public StartWithPrompt ( ) : void
return void