Class TimestampedMigrationAttribute
Creates a MigrationAttribute which executes in order based on the given date and time.
Implements
Inherited Members
Namespace: FluentMigrator
Assembly: FluentMigrator.Abstractions.dll
Syntax
public class TimestampedMigrationAttribute : MigrationAttribute, _Attribute
Constructors
| Edit this page View SourceTimestampedMigrationAttribute(ushort, ushort, ushort, ushort, ushort)
Initializes a new instance of the TimestampedMigrationAttribute class whose version is based on date and time information.
Declaration
public TimestampedMigrationAttribute(ushort year, ushort month, ushort day, ushort hour, ushort minute)
Parameters
Type | Name | Description |
---|---|---|
ushort | year | The year the migration was created. |
ushort | month | The month the migration was created. |
ushort | day | The day the migration was created. |
ushort | hour | The hour the migration was created. |
ushort | minute | The minute the migration was created. |
TimestampedMigrationAttribute(ushort, ushort, ushort, ushort, ushort, TransactionBehavior)
Initializes a new instance of the TimestampedMigrationAttribute class whose version is based on date and time information.
Declaration
public TimestampedMigrationAttribute(ushort year, ushort month, ushort day, ushort hour, ushort minute, TransactionBehavior transactionBehavior)
Parameters
Type | Name | Description |
---|---|---|
ushort | year | The year the migration was created. |
ushort | month | The month the migration was created. |
ushort | day | The day the migration was created. |
ushort | hour | The hour the migration was created. |
ushort | minute | The minute the migration was created. |
TransactionBehavior | transactionBehavior | The TransactionBehavior the migration will use. |
TimestampedMigrationAttribute(ushort, ushort, ushort, ushort, ushort, TransactionBehavior, string)
Initializes a new instance of the TimestampedMigrationAttribute class whose version is based on date and time information.
Declaration
public TimestampedMigrationAttribute(ushort year, ushort month, ushort day, ushort hour, ushort minute, TransactionBehavior transactionBehavior, string description)
Parameters
Type | Name | Description |
---|---|---|
ushort | year | The year the migration was created. |
ushort | month | The month the migration was created. |
ushort | day | The day the migration was created. |
ushort | hour | The hour the migration was created. |
ushort | minute | The minute the migration was created. |
TransactionBehavior | transactionBehavior | The TransactionBehavior the migration will use. |
string | description | A description for the migration. |
TimestampedMigrationAttribute(ushort, ushort, ushort, ushort, ushort, string)
Initializes a new instance of the TimestampedMigrationAttribute class whose version is based on date and time information.
Declaration
public TimestampedMigrationAttribute(ushort year, ushort month, ushort day, ushort hour, ushort minute, string description)
Parameters
Type | Name | Description |
---|---|---|
ushort | year | The year the migration was created. |
ushort | month | The month the migration was created. |
ushort | day | The day the migration was created. |
ushort | hour | The hour the migration was created. |
ushort | minute | The minute the migration was created. |
string | description | A description for the migration. |
TimestampedMigrationAttribute(ushort, ushort, ushort, ushort, ushort, ushort)
Initializes a new instance of the TimestampedMigrationAttribute class whose version is based on date and time information.
Declaration
public TimestampedMigrationAttribute(ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second)
Parameters
Type | Name | Description |
---|---|---|
ushort | year | The year the migration was created. |
ushort | month | The month the migration was created. |
ushort | day | The day the migration was created. |
ushort | hour | The hour the migration was created. |
ushort | minute | The minute the migration was created. |
ushort | second | The second the migration was created. |
TimestampedMigrationAttribute(ushort, ushort, ushort, ushort, ushort, ushort, TransactionBehavior)
Initializes a new instance of the TimestampedMigrationAttribute class whose version is based on date and time information.
Declaration
public TimestampedMigrationAttribute(ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second, TransactionBehavior transactionBehavior)
Parameters
Type | Name | Description |
---|---|---|
ushort | year | The year the migration was created. |
ushort | month | The month the migration was created. |
ushort | day | The day the migration was created. |
ushort | hour | The hour the migration was created. |
ushort | minute | The minute the migration was created. |
ushort | second | The second the migration was created. |
TransactionBehavior | transactionBehavior | The TransactionBehavior the migration will use. |
TimestampedMigrationAttribute(ushort, ushort, ushort, ushort, ushort, ushort, TransactionBehavior, string)
Initializes a new instance of the TimestampedMigrationAttribute class whose version is based on date and time information.
Declaration
public TimestampedMigrationAttribute(ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second, TransactionBehavior transactionBehavior, string description)
Parameters
Type | Name | Description |
---|---|---|
ushort | year | The year the migration was created. |
ushort | month | The month the migration was created. |
ushort | day | The day the migration was created. |
ushort | hour | The hour the migration was created. |
ushort | minute | The minute the migration was created. |
ushort | second | The second the migration was created. |
TransactionBehavior | transactionBehavior | The TransactionBehavior the migration will use. |
string | description | A description for the migration. |
TimestampedMigrationAttribute(ushort, ushort, ushort, ushort, ushort, ushort, string)
Initializes a new instance of the TimestampedMigrationAttribute class whose version is based on date and time information.
Declaration
public TimestampedMigrationAttribute(ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second, string description)
Parameters
Type | Name | Description |
---|---|---|
ushort | year | The year the migration was created. |
ushort | month | The month the migration was created. |
ushort | day | The day the migration was created. |
ushort | hour | The hour the migration was created. |
ushort | minute | The minute the migration was created. |
ushort | second | The second the migration was created. |
string | description | A description for the migration. |