Class MigrationPlanExecutor
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Migrations
Assembly: cs.temp.dll.dll
Syntax
public class MigrationPlanExecutor : IMigrationPlanExecutor
Constructors
MigrationPlanExecutor(IScopeProvider, ILoggerFactory, IMigrationBuilder)
Declaration
public MigrationPlanExecutor(IScopeProvider scopeProvider, ILoggerFactory loggerFactory, IMigrationBuilder migrationBuilder)
Parameters
Type | Name | Description |
---|---|---|
IScope |
scopeProvider | |
ILogger |
loggerFactory | |
IMigration |
migrationBuilder |
Methods
Execute(MigrationPlan, String)
Executes the plan.
Declaration
public string Execute(MigrationPlan plan, string fromState)
Parameters
Type | Name | Description |
---|---|---|
Migration |
plan | |
System. |
fromState | The state to start execution at. |
Returns
Type | Description |
---|---|
System. |
The final state. |
Remarks
The plan executes within the scope, which must then be completed.