Habanero.DB.DBMigrator.MigrateTo C# (CSharp) Method

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);
        }