Method Create
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Bson.dll
Create(object)
Creates a new BsonDocument by mapping an object to a BsonDocument.
public static BsonDocument Create(object value)
Parameters
value
object
The object to be mapped to a BsonDocument.
Returns
A BsonDocument.