Interface IProfileLoader
Interface to load migrations tagged with a profile name
Namespace: FluentMigrator.Runner
Assembly: FluentMigrator.Runner.dll
Syntax
public interface IProfileLoader
Properties
| Edit this page View SourceSupportsParameterlessApplyProfile
Gets a value indicating whether this instance allows a call to ApplyProfiles()
Declaration
[Obsolete]
bool SupportsParameterlessApplyProfile { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Edit this page View SourceApplyProfiles()
Apply all loaded profiles
Declaration
[Obsolete]
void ApplyProfiles()
ApplyProfiles(IMigrationRunner)
Apply all loaded profiles with the given runner
Declaration
void ApplyProfiles(IMigrationRunner runner)
Parameters
Type | Name | Description |
---|---|---|
IMigrationRunner | runner | The migration runner |
FindProfilesIn(IAssemblyCollection, string)
Find all profile name tagged migrations in the given assembly collection
Declaration
[Obsolete]
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 |