Search Results for

    Show / Hide Table of Contents
    View Source

    Class EfCoreMigrationExecutor

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Persistence.EFCore
    Assembly: Umbraco.Cms.Persistence.EFCore.dll
    Syntax
    public class EfCoreMigrationExecutor : IEFCoreMigrationExecutor

    Constructors

    View Source

    EfCoreMigrationExecutor(IEnumerable<IMigrationProvider>, IOptions<ConnectionStrings>)

    Declaration
    public EfCoreMigrationExecutor(IEnumerable<IMigrationProvider> migrationProviders, IOptions<ConnectionStrings> options)
    Parameters
    Type Name Description
    IEnumerable<IMigrationProvider> migrationProviders
    IOptions<ConnectionStrings> options

    Methods

    View Source

    ExecuteAllMigrationsAsync()

    Declaration
    public async Task ExecuteAllMigrationsAsync()
    Returns
    Type Description
    Task
    View Source

    ExecuteSingleMigrationAsync(EFCoreMigration)

    Declaration
    public async Task ExecuteSingleMigrationAsync(EFCoreMigration migration)
    Parameters
    Type Name Description
    EFCoreMigration migration
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • EfCoreMigrationExecutor(IEnumerable<IMigrationProvider>, IOptions<ConnectionStrings>)
    • Methods
      • ExecuteAllMigrationsAsync()
      • ExecuteSingleMigrationAsync(EFCoreMigration)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX