Table of Contents

Method Combine

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Combine(params UpdateDefinition<TDocument>[])

Creates a combined update.

public UpdateDefinition<TDocument> Combine(params UpdateDefinition<TDocument>[] updates)

Parameters

updates UpdateDefinition<TDocument>[]

The updates.

Returns

UpdateDefinition<TDocument>

A combined update.

Combine(IEnumerable<UpdateDefinition<TDocument>>)

Creates a combined update.

public UpdateDefinition<TDocument> Combine(IEnumerable<UpdateDefinition<TDocument>> updates)

Parameters

updates IEnumerable<UpdateDefinition<TDocument>>

The updates.

Returns

UpdateDefinition<TDocument>

A combined update.