Class Migration
The base class a migration derives from. Mark it with MigrationAttribute and declare the work fluently in Up(IMigrationBuilder); the IMigrationRunner discovers it, orders it by timestamp, and applies the pending ones through the provider's IMigrationExecutor.
public abstract class Migration
- Inheritance
-
Migration
- Inherited Members
Methods
Up(IMigrationBuilder)
Declares the migration's operations against the fluent, typed migration builder.
public abstract void Up(IMigrationBuilder migration)
Parameters
migrationIMigrationBuilderThe migration builder.