Class MaintenanceAttribute
Annotates migrations that should always be executed at a specified stage.
Inheritance
MaintenanceAttribute
Assembly: FluentMigrator.Abstractions.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class MaintenanceAttribute : Attribute, _Attribute
Remarks
Constructors
MaintenanceAttribute(MigrationStage)
Declaration
public MaintenanceAttribute(MigrationStage stage)
Parameters
MaintenanceAttribute(MigrationStage, TransactionBehavior)
Declaration
public MaintenanceAttribute(MigrationStage stage, TransactionBehavior transactionBehavior)
Parameters
Properties
Stage
Declaration
public MigrationStage Stage { get; }
Property Value
TransactionBehavior
Declaration
public TransactionBehavior TransactionBehavior { get; }
Property Value
Implements