C# Class MongoDB.Web.Providers.ConnectionHelper

显示文件 Open project: marcosb/MongoDB.Web Class Usage Examples

Private Methods

Method Description
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.