View Source
Class MergeBuilder
Represents a migration plan builder for merges.
Assembly: Umbraco.Infrastructure.dll
Syntax
public class MergeBuilder
Methods
View Source
As(string)
Declaration
public MigrationPlan As(string targetState)
Parameters
| Type |
Name |
Description |
| string |
targetState |
|
Returns
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 |
| string |
targetState |
|
Returns
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 |
| string |
targetState |
|
| Type |
migration |
|
Returns
View Source
To<TMigration>(string)
Adds a transition to a target state through a migration.
Declaration
public MergeBuilder To<TMigration>(string targetState) where TMigration : AsyncMigrationBase
Parameters
| Type |
Name |
Description |
| string |
targetState |
|
Returns
Type Parameters
| Name |
Description |
| TMigration |
|
View Source
With()
Begins the second branch of the merge.
Declaration
public MergeBuilder With()
Returns