Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMigrationBuilder

    Represents a builder that defines the contract for constructing and configuring database migrations.

    Namespace: Umbraco.Cms.Infrastructure.Migrations
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IMigrationBuilder

    Methods

    View Source

    Build(Type, IMigrationContext)

    Creates an instance of the specified migration type using the provided migration context.

    Declaration
    AsyncMigrationBase Build(Type migrationType, IMigrationContext context)
    Parameters
    Type Name Description
    Type migrationType

    The type of migration to instantiate. Must derive from AsyncMigrationBase.

    IMigrationContext context

    The migration context to use for the migration instance.

    Returns
    Type Description
    AsyncMigrationBase

    An instance of AsyncMigrationBase representing the migration.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX