Search Results for

    Show / Hide Table of Contents

    Class ProcessorOptions

    Options for an IMigrationProcessor

    Inheritance
    Object
    ProcessorOptions
    Implements
    IMigrationProcessorOptions
    Namespace: FluentMigrator.Runner.Processors
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public sealed class ProcessorOptions : object, IMigrationProcessorOptions

    Constructors

    | Improve this Doc View Source

    ProcessorOptions()

    Initializes a new instance of the ProcessorOptions class.

    Declaration
    public ProcessorOptions()
    | Improve this Doc View Source

    ProcessorOptions(IRunnerContext)

    Initializes a new instance of the ProcessorOptions class.

    Declaration
    public ProcessorOptions(IRunnerContext runnerContext)
    Parameters
    Type Name Description
    IRunnerContext runnerContext

    The runner context to get the values from

    Properties

    | Improve this Doc 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
    | Improve this Doc 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
    Boolean
    | Improve this Doc View Source

    ProviderSwitches

    Gets or sets the provider switches

    Declaration
    public string ProviderSwitches { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc 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
    Boolean
    | Improve this Doc View Source

    Timeout

    Gets or sets the default command timeout

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

    Methods

    | Improve this Doc View Source

    SetValuesFrom(IRunnerContext)

    Sets the values from the given runner context

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

    The runner context

    Implements

    IMigrationProcessorOptions
    • Improve this Doc
    • 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.