Click or drag to resize

MongoDatabaseSettings Class

The settings used to access a database.
Inheritance Hierarchy
SystemObject
  MongoDB.DriverMongoDatabaseSettings

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public class MongoDatabaseSettings

The MongoDatabaseSettings type exposes the following members.

Constructors
  NameDescription
Public methodMongoDatabaseSettings
Creates a new instance of MongoDatabaseSettings.
Top
Properties
  NameDescription
Public propertyGuidRepresentation
Gets or sets the representation to use for Guids.
Public propertyIsFrozen
Gets a value indicating whether the settings have been frozen to prevent further changes.
Public propertyReadConcern
Gets or sets the read concern.
Public propertyReadEncoding
Gets or sets the Read Encoding.
Public propertyReadPreference
Gets or sets the read preference.
Public propertySerializerRegistry
Gets the serializer registry.
Public propertyWriteConcern
Gets or sets the WriteConcern to use.
Public propertyWriteEncoding
Gets or sets the Write Encoding.
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also