Interface IFilteringMigrationSource
This is a specialization of IMigrationSource that allows filtering the types beforehand
Inherited Members
Namespace: FluentMigrator.Runner.Initialization
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public interface IFilteringMigrationSource : IMigrationSource
Methods
| Edit this page View SourceGetMigrations(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 |