Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMigrationPlanExecutor

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

    Methods

    View Source

    Execute(MigrationPlan, String)

    Declaration
    string Execute(MigrationPlan plan, string fromState)
    Parameters
    Type Name Description
    MigrationPlan plan
    System.String fromState
    Returns
    Type Description
    System.String
    View Source

    ExecutePlan(MigrationPlan, String)

    Executes the migration plan.

    Declaration
    virtual ExecutedMigrationPlan ExecutePlan(MigrationPlan plan, string fromState)
    Parameters
    Type Name Description
    MigrationPlan plan

    The migration plan to execute.

    System.String fromState

    The state to start execution at.

    Returns
    Type Description
    ExecutedMigrationPlan

    ExecutedMigrationPlan containing information about the plan execution, such as completion state and the steps that ran.

    Remarks

    Each migration in the plan, may or may not run in a scope depending on the type of plan.

    A plan can complete partially, the changes of each completed migration will be saved.

    View Source

    ExecutePlanAsync(MigrationPlan, String)

    Executes the migration plan asynchronously.

    Declaration
    virtual Task<ExecutedMigrationPlan> ExecutePlanAsync(MigrationPlan plan, string fromState)
    Parameters
    Type Name Description
    MigrationPlan plan

    The migration plan to execute.

    System.String fromState

    The state to start execution at.

    Returns
    Type Description
    Task<ExecutedMigrationPlan>

    A Task of ExecutedMigrationPlan containing information about the plan execution, such as completion state and the steps that ran.

    Remarks

    Each migration in the plan, may or may not run in a scope depending on the type of plan.

    A plan can complete partially, the changes of each completed migration will be saved.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX