Table of Contents

Class Migration

Namespace
eQuantic.Core.Data.Migration
Assembly
eQuantic.Core.Data.dll

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

migration IMigrationBuilder

The migration builder.