Search Results for

    Show / Hide Table of Contents
    View Source

    Class ConnectionStrings

    Represents a single connection string.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class ConnectionStrings

    Fields

    View Source

    DataDirectoryPlaceholder

    The DataDirectory placeholder.

    Declaration
    public const string DataDirectoryPlaceholder = "|DataDirectory|"
    Field Value
    Type Description
    System.String
    View Source

    DefaultProviderName

    The default provider name when not present in configuration.

    Declaration
    public const string DefaultProviderName = "Microsoft.Data.SqlClient"
    Field Value
    Type Description
    System.String
    View Source

    ProviderNamePostfix

    The postfix used to identify a connection strings provider setting.

    Declaration
    public const string ProviderNamePostfix = "_ProviderName"
    Field Value
    Type Description
    System.String

    Properties

    View Source

    ConnectionString

    Gets or sets the connection string.

    Declaration
    public string ConnectionString { get; set; }
    Property Value
    Type Description
    System.String

    The connection string.

    View Source

    Name

    Gets or sets the name.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    The name.

    View Source

    ProviderName

    Gets or sets the name of the provider.

    Declaration
    public string ProviderName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the provider.

    • Improve this Doc
    • View Source
    In This Article
    • Fields
      • DataDirectoryPlaceholder
      • DefaultProviderName
      • ProviderNamePostfix
    • Properties
      • ConnectionString
      • Name
      • ProviderName
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX