Share via


IDbMigration Interface

Definition

Explicitly implemented by DbMigration to prevent certain members from showing up in the IntelliSense of scaffolded migrations.

public interface IDbMigration
type IDbMigration = interface
Public Interface IDbMigration
Derived

Methods

AddOperation(MigrationOperation)

Adds a custom MigrationOperation to the migration. Custom operation implementors are encouraged to create extension methods on IDbMigration that provide a fluent-style API for adding new operations.

Applies to