Table of Contents

Class LinqToDBSettings

Namespace
LinqToDB.Configuration
Assembly
linq2db.dll

Provides explicitly-defined ILinqToDBSettings implementation.

public class LinqToDBSettings : ILinqToDBSettings
Inheritance
LinqToDBSettings
Implements
Extension Methods

Constructors

LinqToDBSettings(string, string, string)

public LinqToDBSettings(string connectionName, string providerName, string connectionString)

Parameters

connectionName string
providerName string
connectionString string

Properties

ConnectionStrings

Gets list of connection configurations.

public IEnumerable<IConnectionStringSettings> ConnectionStrings { get; }

Property Value

IEnumerable<IConnectionStringSettings>

DataProviders

Gets list of data provider settings.

public IEnumerable<IDataProviderSettings> DataProviders { get; }

Property Value

IEnumerable<IDataProviderSettings>

DefaultConfiguration

Gets name of default connection configuration.

public string DefaultConfiguration { get; }

Property Value

string

DefaultDataProvider

Gets name of default data provider configuration.

public string DefaultDataProvider { get; }

Property Value

string