C# Class DatabaseVersioningTool.VersionManager

Mostra file Open project: vkhorikov/DatabaseUpgradeTool Class Usage Examples

Public Methods

Method Description
ExecuteMigrations ( ) : IReadOnlyList
VersionManager ( string connectionString ) : System.Collections.Generic

Private Methods

Method Description
CreateSettingsTable ( ) : void
GetCurrentVersion ( ) : int
GetCurrentVersionFromSettingsTable ( ) : int
GetDuplicatedVersion ( IReadOnlyList migrations ) : int?
GetNewMigrations ( int currentVersion ) : IReadOnlyList
SettingsTableExists ( ) : bool
UpdateVersion ( int newVersion ) : void

Method Details

ExecuteMigrations() public method

public ExecuteMigrations ( ) : IReadOnlyList
return IReadOnlyList

VersionManager() public method

public VersionManager ( string connectionString ) : System.Collections.Generic
connectionString string
return System.Collections.Generic