IDbMigration.AddOperation Method (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.

Namespace:   System.Data.Entity.Migrations.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

void AddOperation(
	MigrationOperation migrationOperation
)

Parameters

migrationOperation
Type: System.Data.Entity.Migrations.Model.MigrationOperation

The operation to add.