Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IDatabaseSettingsFactory

    Creates DatabaseSettingsModel based on the currently configured providers.

    Namespace: Umbraco.Cms.Core.Factories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IDatabaseSettingsFactory

    Methods

    View Source

    GetDatabaseSettings()

    Creates a collection of database settings models for the currently installed database providers

    Declaration
    ICollection<DatabaseSettingsModel> GetDatabaseSettings()
    Returns
    Type Description
    ICollection<DatabaseSettingsModel>

    Collection of database settings.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if a connection string is preconfigured, but provider name is missing.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX