Class BsonDocumentBackedClass
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
A class backed by a BsonDocument.
public abstract class BsonDocumentBackedClass
- Inheritance
-
BsonDocumentBackedClass
- Inherited Members
- Extension Methods
Constructors
- BsonDocumentBackedClass(BsonDocument, IBsonDocumentSerializer)
Initializes a new instance of the BsonDocumentBackedClass class.
- BsonDocumentBackedClass(IBsonDocumentSerializer)
Initializes a new instance of the BsonDocumentBackedClass class.
Properties
- BackingDocument
Gets the backing document.
Methods
- GetValue<T>(string)
Gets the value from the backing document.
- GetValue<T>(string, T)
Gets the value from the backing document.
- SetValue(string, object)
Sets the value in the backing document.