Search Results for

    Show / Hide Table of Contents

    Interface IFilteringMigrationSource

    This is a specialization of IMigrationSource that allows filtering the types beforehand

    Inherited Members
    IMigrationSource.GetMigrations()
    Namespace: FluentMigrator.Runner.Initialization
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public interface IFilteringMigrationSource : IMigrationSource

    Methods

    | Edit this page View Source

    GetMigrations(Func<Type, bool>)

    Returns the instances for all found types implementing IMigration

    Declaration
    [NotNull]
    [ItemNotNull]
    IEnumerable<IMigration> GetMigrations(Func<Type, bool> predicate)
    Parameters
    Type Name Description
    Func<Type, bool> predicate

    The predicate used to select the types to instantiate

    Returns
    Type Description
    IEnumerable<IMigration>

    the instances for all found types implementing IMigration

    • 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.