Search Results for

    Show / Hide Table of Contents

    Class ProcessorOptions

    Options for an IMigrationProcessor

    Inheritance
    object
    ProcessorOptions
    Implements
    IMigrationProcessorOptions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: FluentMigrator.Runner.Processors
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public sealed class ProcessorOptions : IMigrationProcessorOptions

    Constructors

    | Edit this page View Source

    ProcessorOptions()

    Initializes a new instance of the ProcessorOptions class.

    Declaration
    public ProcessorOptions()
    | Edit this page View Source

    ProcessorOptions(IRunnerContext)

    Initializes a new instance of the ProcessorOptions class.

    Declaration
    [Obsolete]
    public ProcessorOptions(IRunnerContext runnerContext)
    Parameters
    Type Name Description
    IRunnerContext runnerContext

    The runner context to get the values from

    Properties

    | Edit this page View Source

    ConnectionString

    Gets or sets the connection string (will not be used when PreviewOnly is active)

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

    PreviewOnly

    Gets or sets a value indicating whether a preview-only mode is active

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

    ProviderSwitches

    Gets or sets the provider switches

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

    StripComments

    Gets or sets a value indicating whether the comments should be stripped

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

    Timeout

    Gets or sets the default command timeout

    Declaration
    public TimeSpan? Timeout { get; set; }
    Property Value
    Type Description
    TimeSpan?

    Methods

    | Edit this page View Source

    SetValuesFrom(IRunnerContext)

    Sets the values from the given runner context

    Declaration
    [Obsolete]
    public void SetValuesFrom(IRunnerContext runnerContext)
    Parameters
    Type Name Description
    IRunnerContext runnerContext

    The runner context

    Implements

    IMigrationProcessorOptions
    • Edit this page
    • View Source
    In this article
    • Constructors
      • ProcessorOptions()
      • ProcessorOptions(IRunnerContext)
    • Properties
      • ConnectionString
      • PreviewOnly
      • ProviderSwitches
      • StripComments
      • Timeout
    • Methods
      • SetValuesFrom(IRunnerContext)
    • Implements
    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.