C# Class Sharp.Migrations.Runner

Inheritance: IRunner
Afficher le fichier Open project: sharpmigrations/sharpmigrations Class Usage Examples

Méthodes publiques

Свойство Type Description
Log ISharpLogger

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
GetCurrentVersion ( ) : void

Private Methods

Méthode 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 méthode

protected GetCurrentVersion ( ) : void
Résultat void

Run() public méthode

public Run ( long targetVersion ) : void
targetVersion long
Résultat void

Run() public méthode

public Run ( long targetVersion, string migrationGroup ) : void
targetVersion long
migrationGroup string
Résultat void

Runner() public méthode

public Runner ( IDataClient dataClient, Assembly targetAssembly ) : System
dataClient IDataClient
targetAssembly System.Reflection.Assembly
Résultat System

Runner() public méthode

public Runner ( IDataClient dataClient, Assembly targetAssembly, IVersionRepository versionRepository ) : System
dataClient IDataClient
targetAssembly System.Reflection.Assembly
versionRepository IVersionRepository
Résultat System

Property Details

Log public_oe static_oe property

public static ISharpLogger Log
Résultat ISharpLogger