Method AddRange
AddRange(Dictionary<string, object>)
Adds elements to the document from a dictionary of key/value pairs.
Parameters
dictionary
Dictionary<string, object>The dictionary.
Returns
- Bson
Document The document (so method calls can be chained).
AddRange(IDictionary)
Adds elements to the document from a dictionary of key/value pairs.
Parameters
dictionary
IDictionaryThe dictionary.
Returns
- Bson
Document The document (so method calls can be chained).
AddRange(IEnumerable<BsonElement>)
Adds a list of elements to the document.
Parameters
elements
IEnumerable<BsonElement >The list of elements.
Returns
- Bson
Document The document (so method calls can be chained).
AddRange(IEnumerable<KeyValuePair<string, object>>)
Adds elements to the document from a dictionary of key/value pairs.
Parameters
dictionary
IEnumerable<KeyValue <string, object>>Pair The dictionary.
Returns
- Bson
Document The document (so method calls can be chained).