Search Results for

    Show / Hide Table of Contents
    View Source

    Class MigrationPlanExecutor

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.Migrations
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class MigrationPlanExecutor : IMigrationPlanExecutor

    Constructors

    View Source

    MigrationPlanExecutor(ICoreScopeProvider, IScopeAccessor, ILoggerFactory, IMigrationBuilder)

    Declaration
    public MigrationPlanExecutor(ICoreScopeProvider scopeProvider, IScopeAccessor scopeAccessor, ILoggerFactory loggerFactory, IMigrationBuilder migrationBuilder)
    Parameters
    Type Name Description
    ICoreScopeProvider scopeProvider
    IScopeAccessor scopeAccessor
    ILoggerFactory loggerFactory
    IMigrationBuilder migrationBuilder

    Methods

    View Source

    Execute(MigrationPlan, String)

    Executes the plan.

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

    The state to start execution at.

    Returns
    Type Description
    System.String

    The final state.

    Remarks

    The plan executes within the scope, which must then be completed.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MigrationPlanExecutor(ICoreScopeProvider, IScopeAccessor, ILoggerFactory, IMigrationBuilder)
    • Methods
      • Execute(MigrationPlan, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX