Method Create
Create(object)
Creates a new BsonDocument by mapping an object to a BsonDocument.
public static BsonDocument Create(object value)
Parameters
value
objectThe object to be mapped to a BsonDocument.
Returns
- BsonDocument
A BsonDocument.