Skip to content

MongoDbDataSettingOption

Mendz edited this page Oct 12, 2018 · 3 revisions

MongoDbDataSettingOption

Provides the data setting options for MongoDB access. Note that MongoDbDataSettingOption is a static class.

Constructors

None.

Properties

Name Description
MongoClientSettings ClientSettings Gets or sets the client settings. Set this property during application start. If set/valued, this overrides the Client setting. Otherwise, if null, the context uses the Client.
string Client Gets or sets the client name. Default is "MongoDBClient".
string Context Gets or sets the context name. Default is "MongoDBContext".
MongoDatabaseSettings DatabaseSettings Gets or sets the database settings. Set this property during application start. This is optional. Default is null.

Methods

None.

Clone this wiki locally