Property | Type | Description | |
---|---|---|---|
_dryrun | bool |
Method | Description | |
---|---|---|
DbMigrator ( |
||
Dispose ( ) : void | ||
Migrate ( long version ) : void | ||
MigrateTo ( long version, string schemainfoname ) : void |
Migrate the database to a specific version. Runs all migration between the actual version and the specified version. If
|
|
MigrateToLastVersion ( string schemainfoname ) : void |
Run all migrations up to the latest. Make no changes to database if dryrun is true.
|
Method | Description | |
---|---|---|
DbMigrator ( ITransformationProvider provider, bool trace, ILogger logger ) : System |
protected DbMigrator ( ITransformationProvider provider, bool trace, ILogger logger ) : System | ||
provider | ITransformationProvider | |
trace | bool | |
logger | ILogger | |
return | System |
public DbMigrator ( |
||
options | ||
return | System |
public MigrateTo ( long version, string schemainfoname ) : void | ||
version | long | The version that must became the current one |
schemainfoname | string | |
return | void |
public MigrateToLastVersion ( string schemainfoname ) : void | ||
schemainfoname | string | |
return | void |