Namespace MongoDB.Bson
The MongoDB.Bson top level namespace and its child namespaces contain the classes for managing BSON data. The top level MongoDB.Bson namespace contains the classes that represent all the basic BSON Types.
Classes
- BsonArray
Represents a BSON array.
- BsonBinaryData
Represents BSON binary data.
- BsonBoolean
Represents a BSON boolean value.
- BsonConstants
A static class containing BSON constants.
- BsonDateTime
Represents a BSON DateTime value.
- BsonDecimal128
Represents a BSON Decimal128 value.
- BsonDefaults
A static helper class containing BSON defaults.
- BsonDocument
Represents a BSON document.
- BsonDocumentWrapper
Represents a BsonDocument wrapper.
- BsonDouble
Represents a BSON double value.
- BsonException
Represents a BSON exception.
- BsonExtensionMethods
A static class containing BSON extension methods.
- BsonInt32
Represents a BSON int value.
- BsonInt64
Represents a BSON long value.
- BsonInternalException
Represents a BSON internal exception (almost surely the result of a bug).
- BsonJavaScript
Represents a BSON JavaScript value.
- BsonJavaScriptWithScope
Represents a BSON JavaScript value with a scope.
- BsonMaxKey
Represents the BSON MaxKey value.
- BsonMinKey
Represents the BSON MinKey value.
- BsonNull
Represents the BSON Null value.
- BsonObjectId
Represents a BSON ObjectId value (see also ObjectId).
- BsonRegularExpression
Represents a BSON regular expression value.
- BsonSerializationException
Represents a BSON serialization exception.
- BsonString
Represents a BSON string value.
- BsonSymbol
Represents a BSON symbol value.
- BsonSymbolTable
Represents the symbol table of BsonSymbols.
- BsonTimestamp
Represents a BSON timestamp value.
- BsonTypeMapper
A static class that maps between .NET objects and BsonValues.
- BsonTypeMapperOptions
Represents options used by the BsonTypeMapper.
- BsonUndefined
Represents the BSON undefined value.
- BsonUtils
A static class containing BSON utility methods.
- BsonValue
Represents a BSON value (this is an abstract class, see the various subclasses).
- DuplicateBsonMemberMapAttributeException
Indicates that an attribute restricted to one member has been applied to multiple members.
- GuidConverter
A static class containing methods to convert to and from Guids and byte arrays in various byte orders.
- LazyBsonArray
Represents a BSON array that is deserialized lazily.
- LazyBsonDocument
Represents a BSON document that is deserialized lazily.
- MaterializedOnDemandBsonArray
Represents a BSON array that is not materialized until you start using it.
- MaterializedOnDemandBsonDocument
Represents a BSON document that is not materialized until you start using it.
- RawBsonArray
Represents an immutable BSON array that is represented using only the raw bytes.
- RawBsonDocument
Represents an immutable BSON document that is represented using only the raw bytes.
- TruncationException
Represents a truncation exception.
Structs
- BsonElement
Represents a BSON element.
- Decimal128
Represents a Decimal128 value.
- ObjectId
Represents an ObjectId (see also BsonObjectId).
Interfaces
- IConvertibleToBsonDocument
An interface implemented by objects that convert themselves to a BsonDocument.
- ICustomBsonTypeMapper
An interface for custom mappers that map an object to a BsonValue.
Enums
- BsonBinarySubType
Represents the binary data subtype of a BsonBinaryData.
- BsonType
Represents the type of a BSON element.
- DuplicateNameHandling
Represents how duplicate names should be handled.
- GuidRepresentation
Represents the representation to use when converting a Guid to a BSON binary value.