Search Results for

    Show / Hide Table of Contents

    Interface IMigrationInfo

    Interface for migration information

    Namespace: FluentMigrator.Infrastructure
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    public interface IMigrationInfo

    Properties

    | Edit this page View Source

    Description

    Gets the migration description

    Declaration
    string Description { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IsBreakingChange

    Gets a value indicating whether the migration is a breaking change

    Declaration
    bool IsBreakingChange { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Migration

    Gets the migration

    Declaration
    IMigration Migration { get; }
    Property Value
    Type Description
    IMigration
    | Edit this page View Source

    TransactionBehavior

    Gets the desired transaction behavior

    Declaration
    TransactionBehavior TransactionBehavior { get; }
    Property Value
    Type Description
    TransactionBehavior
    | Edit this page View Source

    Version

    Gets the migration version

    Declaration
    long Version { get; }
    Property Value
    Type Description
    long

    Methods

    | Edit this page View Source

    GetName()

    Gets the migration name

    Declaration
    string GetName()
    Returns
    Type Description
    string
    | Edit this page View Source

    HasTrait(string)

    Returns a value indicating whether a given trait was specified

    Declaration
    bool HasTrait(string name)
    Parameters
    Type Name Description
    string name

    The trait name

    Returns
    Type Description
    bool

    true when the trait was specified

    | Edit this page View Source

    Trait(string)

    Gets the trait object with the given name

    Declaration
    object Trait(string name)
    Parameters
    Type Name Description
    string name

    The trait name

    Returns
    Type Description
    object

    The object associated with the given name

    • Edit this page
    • View Source
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.