Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IEFCoreMigrationExecutor

    Represents a contract for executing migrations using Entity Framework Core within the Umbraco CMS infrastructure.

    Namespace: Umbraco.Cms.Infrastructure.Migrations
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public interface IEFCoreMigrationExecutor

    Methods

    View Source

    ExecuteAllMigrationsAsync()

    Executes all pending Entity Framework Core migrations for the current database context asynchronously.

    Declaration
    Task ExecuteAllMigrationsAsync()
    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task that represents the asynchronous migration operation.

    View Source

    ExecuteSingleMigrationAsync(EFCoreMigration)

    Asynchronously executes a single Entity Framework Core migration against the database.

    Declaration
    Task ExecuteSingleMigrationAsync(EFCoreMigration efCoreMigration)
    Parameters
    Type Name Description
    EFCoreMigration efCoreMigration

    The EF Core migration instance to execute.

    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task that represents the asynchronous execution of the migration.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX