C# Class Sharp.Migrations.Runner

Inheritance: IRunner
ファイルを表示 Open project: sharpmigrations/sharpmigrations Class Usage Examples

Public Properties

Property Type Description
Log ISharpLogger

Public Methods

Method Description
Run ( long targetVersion ) : void
Run ( long targetVersion, string migrationGroup ) : void
Runner ( IDataClient dataClient, Assembly targetAssembly ) : System
Runner ( IDataClient dataClient, Assembly targetAssembly, IVersionRepository versionRepository ) : System

Protected Methods

Method Description
GetCurrentVersion ( ) : void

Private Methods

Method Description
FireOnMigrationError ( MigrationErrorArgs args ) : void
HandleNotSupportedByDialectException ( MigrationInfo migrationInfo, NotSupportedByDialect nse ) : void
NoWorkToDo ( MigrationPlan migrationPlan ) : bool
RunMigration ( MigrationPlanStep step ) : void
RunMigrations ( MigrationPlan migrationPlan ) : void
UpdateCurrentVersion ( MigrationPlanStep step ) : void

Method Details

GetCurrentVersion() protected method

protected GetCurrentVersion ( ) : void
return void

Run() public method

public Run ( long targetVersion ) : void
targetVersion long
return void

Run() public method

public Run ( long targetVersion, string migrationGroup ) : void
targetVersion long
migrationGroup string
return void

Runner() public method

public Runner ( IDataClient dataClient, Assembly targetAssembly ) : System
dataClient IDataClient
targetAssembly System.Reflection.Assembly
return System

Runner() public method

public Runner ( IDataClient dataClient, Assembly targetAssembly, IVersionRepository versionRepository ) : System
dataClient IDataClient
targetAssembly System.Reflection.Assembly
versionRepository IVersionRepository
return System

Property Details

Log public_oe static_oe property

public static ISharpLogger Log
return ISharpLogger