Class UnscopedMigrationBase
Base class for creating a migration that does not have a scope provided for it.
Namespace: Umbraco.Cms.Infrastructure.Migrations
Assembly: Umbraco.Infrastructure.dll
Syntax
public abstract class UnscopedMigrationBase : UnscopedAsyncMigrationBase, IDiscoverable
Constructors
View SourceUnscopedMigrationBase(IMigrationContext)
Initializes a new instance of the UnscopedMigrationBase class.
Declaration
protected UnscopedMigrationBase(IMigrationContext context)
Parameters
Type | Name | Description |
---|---|---|
IMigrationContext | context | The context. |
Methods
View SourceMigrate()
Executes the migration.
Declaration
protected abstract void Migrate()
MigrateAsync()
Executes the migration.
Declaration
protected override Task MigrateAsync()
Returns
Type | Description |
---|---|
Task |