C# Class Mite.Core.Migrator

显示文件 Open project: soitgoes/Mite Class Usage Examples

Public Methods

Method Description
DirtyResolution ( ) : MigrationResult
FromScratch ( ) : void
MigrateTo ( string destinationVersion ) : MigrationResult
Migrator ( IMigrationTracker tracker, IDatabaseRepository databaseRepository ) : System
SafeResolution ( ) : MigrationResult
StepDown ( ) : MigrationResult
StepUp ( ) : MigrationResult
Update ( ) : MigrationResult
Verify ( ) : bool

In a temporary database migrate all the way up then back down

Method Details

DirtyResolution() public method

public DirtyResolution ( ) : MigrationResult
return MigrationResult

FromScratch() public method

public FromScratch ( ) : void
return void

MigrateTo() public method

public MigrateTo ( string destinationVersion ) : MigrationResult
destinationVersion string
return MigrationResult

Migrator() public method

public Migrator ( IMigrationTracker tracker, IDatabaseRepository databaseRepository ) : System
tracker IMigrationTracker
databaseRepository IDatabaseRepository
return System

SafeResolution() public method

public SafeResolution ( ) : MigrationResult
return MigrationResult

StepDown() public method

public StepDown ( ) : MigrationResult
return MigrationResult

StepUp() public method

public StepUp ( ) : MigrationResult
return MigrationResult

Update() public method

public Update ( ) : MigrationResult
return MigrationResult

Verify() public method

In a temporary database migrate all the way up then back down
public Verify ( ) : bool
return bool