C# Class Core.Web.NHibernate.Migrator.CoreMigrator

Mostrar archivo Open project: coreframework/Core-Framework

Public Methods

Method Description
MigrateDown ( ICorePlugin plugin ) : void

Rolls back all migrations.

MigrateUp ( ICorePlugin plugin ) : void

Applies migrations for specified plugin.

Protected Methods

Method Description
CoreMigrator ( ) : System.Collections.Generic

Initializes a new instance of the CoreMigrator class.

Private Methods

Method Description
FillPluginSchemaInfo ( ICorePlugin plugin, IMigrationService migrationService ) : IEnumerable

Fills the plugin schema info.

GetMigrator ( Assembly assembly ) : ECM7.Migrator.Migrator

Gets the migrator.

Method Details

CoreMigrator() protected method

Initializes a new instance of the CoreMigrator class.
protected CoreMigrator ( ) : System.Collections.Generic
return System.Collections.Generic

MigrateDown() public method

Rolls back all migrations.
public MigrateDown ( ICorePlugin plugin ) : void
plugin ICorePlugin The plugin.
return void

MigrateUp() public method

Applies migrations for specified plugin.
public MigrateUp ( ICorePlugin plugin ) : void
plugin ICorePlugin The plugin.
return void