Search Results for

    Show / Hide Table of Contents

    Class ConfigurationConnectionStringReader

    Implementation of IConnectionStringReader that interprets tries to get the connection string from an IConfiguration or IConfigurationRoot.

    Inheritance
    object
    ConfigurationConnectionStringReader
    Implements
    IConnectionStringReader
    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 ConfigurationConnectionStringReader : IConnectionStringReader

    Constructors

    | Edit this page View Source

    ConfigurationConnectionStringReader(IServiceProvider)

    Initializes a new instance of the ConfigurationConnectionStringReader class.

    Declaration
    public ConfigurationConnectionStringReader(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IServiceProvider serviceProvider

    The service provider to get the configuration interface from

    Properties

    | Edit this page View Source

    Priority

    Gets the priority

    Declaration
    public int Priority { get; }
    Property Value
    Type Description
    int
    Remarks

    Higher value means that it gets processed first

    Methods

    | Edit this page View Source

    GetConnectionString(string)

    Gets the connection string

    Declaration
    public string GetConnectionString(string connectionStringOrName)
    Parameters
    Type Name Description
    string connectionStringOrName

    The name of the connection string

    Returns
    Type Description
    string

    Implements

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