Table of Contents

Method Combine

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

Combine(IEnumerable<IMongoUpdate>)

Combines several UpdateBuilders into a single UpdateBuilder.

public static UpdateBuilder Combine(IEnumerable<IMongoUpdate> updates)

Parameters

updates IEnumerable<IMongoUpdate>

The UpdateBuilders to combine.

Returns

UpdateBuilder

A combined UpdateBuilder.

Combine(params IMongoUpdate[])

Combines several UpdateBuilders into a single UpdateBuilder.

public static UpdateBuilder Combine(params IMongoUpdate[] updates)

Parameters

updates IMongoUpdate[]

The UpdateBuilders to combine.

Returns

UpdateBuilder

A combined UpdateBuilder.