Search Results for

    Show / Hide Table of Contents

    Class ProfileLoader

    The default implementation of the IProfileLoader

    Inheritance
    object
    ProfileLoader
    Implements
    IProfileLoader
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner
    Assembly: FluentMigrator.Runner.dll
    Syntax
    public class ProfileLoader : IProfileLoader

    Constructors

    | Edit this page View Source

    ProfileLoader(IRunnerContext, IMigrationRunner, IMigrationRunnerConventions)

    Initializes a new instance of the ProfileLoader class.

    Declaration
    [Obsolete]
    public ProfileLoader(IRunnerContext runnerContext, IMigrationRunner runner, IMigrationRunnerConventions conventions)
    Parameters
    Type Name Description
    IRunnerContext runnerContext

    The migration runner context

    IMigrationRunner runner

    The migration runner

    IMigrationRunnerConventions conventions

    The migration runner conventions

    | Edit this page View Source

    ProfileLoader(IOptions<RunnerOptions>, IProfileSource, IServiceProvider)

    Initializes a new instance of the ProfileLoader class.

    Declaration
    public ProfileLoader(IOptions<RunnerOptions> options, IProfileSource source, IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IOptions<RunnerOptions> options

    The runner options

    IProfileSource source

    The profile source

    IServiceProvider serviceProvider

    The service provider

    Properties

    | Edit this page View Source

    Profiles

    Gets all found profiles

    Declaration
    public IEnumerable<IMigration> Profiles { get; }
    Property Value
    Type Description
    IEnumerable<IMigration>
    | Edit this page View Source

    SupportsParameterlessApplyProfile

    Gets a value indicating whether this instance allows a call to ApplyProfiles()

    Declaration
    [Obsolete]
    public bool SupportsParameterlessApplyProfile { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    ApplyProfiles()

    Apply all loaded profiles

    Declaration
    [Obsolete]
    public void ApplyProfiles()
    | Edit this page View Source

    ApplyProfiles(IMigrationRunner)

    Apply all loaded profiles with the given runner

    Declaration
    public void ApplyProfiles(IMigrationRunner runner)
    Parameters
    Type Name Description
    IMigrationRunner runner

    The migration runner

    | Edit this page View Source

    FindProfilesIn(IAssemblyCollection, string)

    Find all profile name tagged migrations in the given assembly collection

    Declaration
    [Obsolete]
    public IEnumerable<IMigration> FindProfilesIn(IAssemblyCollection assemblies, string profile)
    Parameters
    Type Name Description
    IAssemblyCollection assemblies

    The assemblies to load the profile tagged migrations from

    string profile

    The profile name to search the migrations for

    Returns
    Type Description
    IEnumerable<IMigration>

    The found migrations

    Implements

    IProfileLoader
    • Edit this page
    • View Source
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.