C# Класс MongoDB.Web.Providers.ConnectionHelper

Показать файл Открыть проект Примеры использования класса

Приватные методы

Метод Описание
GetConnectionString ( MongoDbWebSection mongoDbWebSection, NameValueCollection config ) : string

Gets the configured connection string.

GetDatabase ( NameValueCollection config ) : MongoDatabase
GetDatabaseConnectionString ( MongoDbWebSection mongoDbWebSection, NameValueCollection config ) : string

Gets the database connection string.

GetDatabaseConnectionString ( NameValueCollection config ) : string

Gets the database connection string.

GetDatabaseName ( MongoDbWebSection mongoDbWebSection, NameValueCollection config ) : string

Gets the name of the database.

GetDatabaseName ( MongoDbWebSection mongoDbWebSection, string connectionString, NameValueCollection config ) : string

Gets the name of the database.