Search Results for

    Show / Hide Table of Contents

    Class TagsAttribute

    Used to filter which migrations are run.

    Inheritance
    object
    Attribute
    TagsAttribute
    Implements
    _Attribute
    Inherited Members
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.Equals(object)
    Attribute.GetHashCode()
    Attribute.Match(object)
    Attribute.IsDefaultAttribute()
    Attribute.TypeId
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator
    Assembly: FluentMigrator.Abstractions.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true)]
    public class TagsAttribute : Attribute, _Attribute

    Constructors

    | Edit this page View Source

    TagsAttribute(TagBehavior, params string[])

    Initializes a new instance of the TagsAttribute class.

    Declaration
    public TagsAttribute(TagBehavior behavior, params string[] tagNames)
    Parameters
    Type Name Description
    TagBehavior behavior

    The behavior of the runner when evaluating tagNames.

    string[] tagNames

    The names of the tags that are evaluated by the runner.

    | Edit this page View Source

    TagsAttribute(string)

    Initializes a new instance of the TagsAttribute class.

    Declaration
    public TagsAttribute(string tagName1)
    Parameters
    Type Name Description
    string tagName1

    The tag that is evaluated by the runner.

    | Edit this page View Source

    TagsAttribute(string, string)

    Initializes a new instance of the TagsAttribute class.

    Declaration
    public TagsAttribute(string tagName1, string tagName2)
    Parameters
    Type Name Description
    string tagName1

    The first tag that is evaluated by the runner.

    string tagName2

    The second tag that is evaluated by the runner.

    | Edit this page View Source

    TagsAttribute(string, string, string)

    Initializes a new instance of the TagsAttribute class.

    Declaration
    public TagsAttribute(string tagName1, string tagName2, string tagName3)
    Parameters
    Type Name Description
    string tagName1

    The first tag that is evaluated by the runner.

    string tagName2

    The second tag that is evaluated by the runner.

    string tagName3

    The third tag that is evaluated by the runner.

    | Edit this page View Source

    TagsAttribute(string, string, string, string)

    Initializes a new instance of the TagsAttribute class.

    Declaration
    public TagsAttribute(string tagName1, string tagName2, string tagName3, string tagName4)
    Parameters
    Type Name Description
    string tagName1

    The first tag that is evaluated by the runner.

    string tagName2

    The second tag that is evaluated by the runner.

    string tagName3

    The third tag that is evaluated by the runner.

    string tagName4

    The fourth tag that is evaluated by the runner.

    | Edit this page View Source

    TagsAttribute(params string[])

    Initializes a new instance of the TagsAttribute class.

    Declaration
    public TagsAttribute(params string[] tagNames)
    Parameters
    Type Name Description
    string[] tagNames

    The names of the tags that are evaluated by the runner.

    Properties

    | Edit this page View Source

    Behavior

    Gets the behavior of the runner when evaluating TagNames.

    Declaration
    public TagBehavior Behavior { get; }
    Property Value
    Type Description
    TagBehavior
    | Edit this page View Source

    TagNames

    Gets the names of the tags that are evaluated by the runner.

    Declaration
    public string[] TagNames { get; }
    Property Value
    Type Description
    string[]

    Implements

    _Attribute
    • 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.