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

    ProcessorOptions()

    Initializes a new instance of the ProcessorOptions class.

    Declaration
    public ProcessorOptions()

    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

    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

    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

    ProviderSwitches

    Gets or sets the provider switches

    Declaration
    public string ProviderSwitches { get; set; }
    Property Value
    Type Description
    string

    StripComments

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

    Declaration
    public bool StripComments { get; set; }
    Property Value
    Type Description
    bool

    Timeout

    Gets or sets the default command timeout

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

    Methods

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