Search Results for

    Show / Hide Table of Contents
    View Source

    Class UnscopedMigrationBase

    Base class for creating a migration that does not have a scope provided for it.

    Inheritance
    System.Object
    AsyncMigrationBase
    UnscopedAsyncMigrationBase
    Namespace: Umbraco.Cms.Infrastructure.Migrations
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public abstract class UnscopedMigrationBase : UnscopedAsyncMigrationBase, IDiscoverable

    Constructors

    View Source

    UnscopedMigrationBase(IMigrationContext)

    Initializes a new instance of the UnscopedMigrationBase class.

    Declaration
    protected UnscopedMigrationBase(IMigrationContext context)
    Parameters
    Type Name Description
    IMigrationContext context

    The context.

    Methods

    View Source

    Migrate()

    Executes the migration.

    Declaration
    protected abstract void Migrate()
    View Source

    MigrateAsync()

    Executes the migration.

    Declaration
    protected override Task MigrateAsync()
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX