Search Results for

    Show / Hide Table of Contents
    View Source

    Class MergeBuilder

    Represents a migration plan builder for merges.

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

    Methods

    View Source

    As(String)

    Completes the merge.

    Declaration
    public MigrationPlan As(string targetState)
    Parameters
    Type Name Description
    System.String targetState
    Returns
    Type Description
    MigrationPlan
    View Source

    To(String)

    Adds a transition to a target state through an empty migration.

    Declaration
    public MergeBuilder To(string targetState)
    Parameters
    Type Name Description
    System.String targetState
    Returns
    Type Description
    MergeBuilder
    View Source

    To(String, Type)

    Adds a transition to a target state through a migration.

    Declaration
    public MergeBuilder To(string targetState, Type migration)
    Parameters
    Type Name Description
    System.String targetState
    Type migration
    Returns
    Type Description
    MergeBuilder
    View Source

    To<TMigration>(String)

    Adds a transition to a target state through a migration.

    Declaration
    public MergeBuilder To<TMigration>(string targetState)
        where TMigration : MigrationBase
    Parameters
    Type Name Description
    System.String targetState
    Returns
    Type Description
    MergeBuilder
    Type Parameters
    Name Description
    TMigration
    View Source

    With()

    Begins the second branch of the merge.

    Declaration
    public MergeBuilder With()
    Returns
    Type Description
    MergeBuilder
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • As(String)
      • To(String)
      • To(String, Type)
      • To<TMigration>(String)
      • With()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX