Search Results for

    Show / Hide Table of Contents

    Class ConnectionStringAccessor

    Default implementation of IConnectionStringAccessor

    Inheritance
    object
    ConnectionStringAccessor
    Implements
    IConnectionStringAccessor
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.Initialization
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public class ConnectionStringAccessor : IConnectionStringAccessor

    Constructors

    | Edit this page View Source

    ConnectionStringAccessor(IOptionsSnapshot<ProcessorOptions>, IOptionsSnapshot<SelectingProcessorAccessorOptions>, IEnumerable<IConnectionStringReader>)

    Initializes a new instance of the ConnectionStringAccessor class.

    Declaration
    public ConnectionStringAccessor(IOptionsSnapshot<ProcessorOptions> processorOptions, IOptionsSnapshot<SelectingProcessorAccessorOptions> processorSelectorOptions, IEnumerable<IConnectionStringReader> readers)
    Parameters
    Type Name Description
    IOptionsSnapshot<ProcessorOptions> processorOptions

    The processor options containing the connection string or name

    IOptionsSnapshot<SelectingProcessorAccessorOptions> processorSelectorOptions

    The selected processor (its ID is used as connection string name)

    IEnumerable<IConnectionStringReader> readers

    The registered connection string readers

    Properties

    | Edit this page View Source

    ConnectionString

    Gets the connection string

    Declaration
    public string ConnectionString { get; }
    Property Value
    Type Description
    string

    Implements

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