Table of Contents

Class BsonDefaults

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

A static helper class containing BSON defaults.

public static class BsonDefaults
Inheritance
BsonDefaults
Inherited Members

Properties

DynamicArraySerializer

Gets or sets the dynamic array serializer.

DynamicDocumentSerializer

Gets or sets the dynamic document serializer.

GuidRepresentation

Gets or sets the default representation to be used in serialization of Guids to the database. GuidRepresentation

GuidRepresentationMode

Gets or sets the default representation to be used in serialization of Guids to the database. GuidRepresentation

MaxDocumentSize

Gets or sets the default max document size. The default is 4MiB.

MaxSerializationDepth

Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100.