The Migrator class is responsible for running through a collection of migrationFiles
and applying them towards the specified provider.
This class is very similiar to the Rails Migrator class. They did something very
interesting with a static method acting as a mini-factory for itself, notice how
the static Migrate() method in turn creates a Migrator instance and calls methods
on that. Thought that was very neat, so I borrowed it.
Namespace:
SubSonic.Migrations
Assembly:
SubSonic.Migrations (in SubSonic.Migrations.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| Visual Basic (Declaration) |
|---|
Public Class Migrator |
| Visual C++ |
|---|
public ref class Migrator |
Inheritance Hierarchy
See Also