Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Habanero
DB
DBMigrator
MigrateTo
Habanero.DB.DBMigrator.MigrateTo C# (CSharp) Method
DBMigrator Class Documentation
Show file
Open project: Chillisoft/habanero
MigrateTo()
public
method
Carries out all migrations from the current version to the version specified. Note: The DBMigrator currently only supports forward migrations.
public
MigrateTo
(
int
version
) :
void
version
int
The version number to migrate to (inclusive)
return
void
public void MigrateTo(int version) { Migrate(CurrentVersion(), version); }
DBMigrator
AddMigration
CurrentVersion
DBMigrator
GetMigration
GetMigrationSql
LatestVersion
Migrate
MigrateTo
MigrateToLatestVersion
SetCurrentVersion
SetSettingsStorer