Method Combine
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.