Interface IMigration
The base interface for all migrations
Namespace: FluentMigrator
Assembly: FluentMigrator.Abstractions.dll
Syntax
public interface IMigration
Properties
| Edit this page View SourceApplicationContext
Gets the arbitrary application context passed to the task runner
Declaration
object ApplicationContext { get; }
Property Value
Type | Description |
---|---|
object |
ConnectionString
Gets the connection string passed to the task runner
Declaration
string ConnectionString { get; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceGetDownExpressions(IMigrationContext)
Collects all Down migration expressions in the context
.
Declaration
void GetDownExpressions(IMigrationContext context)
Parameters
Type | Name | Description |
---|---|---|
IMigrationContext | context | The context to use while collecting the Down migration expressions |
GetUpExpressions(IMigrationContext)
Collects all Up migration expressions in the context
.
Declaration
void GetUpExpressions(IMigrationContext context)
Parameters
Type | Name | Description |
---|---|---|
IMigrationContext | context | The context to use while collecting the Up migration expressions |