Search Results for

    Show / Hide Table of Contents
    View Source

    Class ExecutedMigrationPlan

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Migrations
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class ExecutedMigrationPlan

    Constructors

    View Source

    ExecutedMigrationPlan()

    Declaration
    public ExecutedMigrationPlan()
    View Source

    ExecutedMigrationPlan(MigrationPlan, string, string)

    Declaration
    public ExecutedMigrationPlan(MigrationPlan plan, string initialState, string finalState)
    Parameters
    Type Name Description
    MigrationPlan plan
    string initialState
    string finalState
    View Source

    ExecutedMigrationPlan(MigrationPlan, string, string, bool, IReadOnlyList<Transition>)

    Declaration
    [SetsRequiredMembers]
    public ExecutedMigrationPlan(MigrationPlan plan, string initialState, string finalState, bool successful, IReadOnlyList<MigrationPlan.Transition> completedTransitions)
    Parameters
    Type Name Description
    MigrationPlan plan
    string initialState
    string finalState
    bool successful
    IReadOnlyList<MigrationPlan.Transition> completedTransitions

    Properties

    View Source

    CompletedTransitions

    A collection of all the succeeded transition.

    Declaration
    public required IReadOnlyList<MigrationPlan.Transition> CompletedTransitions { get; init; }
    Property Value
    Type Description
    IReadOnlyList<MigrationPlan.Transition>
    View Source

    Exception

    The exception that caused the plan to fail.

    Declaration
    public Exception? Exception { get; init; }
    Property Value
    Type Description
    Exception
    View Source

    FinalState

    The final state after the migrations has ran.

    Declaration
    public required string FinalState { get; init; }
    Property Value
    Type Description
    string
    View Source

    InitialState

    The initial state the plan started from, is null if the plan started from the beginning.

    Declaration
    public required string InitialState { get; init; }
    Property Value
    Type Description
    string
    View Source

    Plan

    The Migration plan itself.

    Declaration
    public required MigrationPlan Plan { get; init; }
    Property Value
    Type Description
    MigrationPlan
    View Source

    Successful

    Determines if the migration plan was a success, that is that all migrations ran successfully.

    Declaration
    public required bool Successful { get; init; }
    Property Value
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX