UpdateTDocumentCombine Method (IEnumerableIMongoUpdate) |
Combines several UpdateBuilders into a single UpdateBuilder.
Namespace: MongoDB.Driver.BuildersAssembly: MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.0.1
Syntax public static UpdateBuilder<TDocument> Combine(
IEnumerable<IMongoUpdate> updates
)
Public Shared Function Combine (
updates As IEnumerable(Of IMongoUpdate)
) As UpdateBuilder(Of TDocument)
static member Combine :
updates : IEnumerable<IMongoUpdate> -> UpdateBuilder<'TDocument>
Parameters
- updates
- Type: System.Collections.GenericIEnumerableIMongoUpdate
The UpdateBuilders to combine.
Return Value
Type:
UpdateBuilderTDocument
A combined UpdateBuilder.
See Also