Table of Contents

Class BulkUpdateRequestBuilder<TDocument>

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

Represents a fluent builder for one update request.

public sealed class BulkUpdateRequestBuilder<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
BulkUpdateRequestBuilder<TDocument>
Inherited Members
Extension Methods

Methods

ReplaceOne(TDocument)

Adds an update request to replace one matching document to the bulk operation.

public void ReplaceOne(TDocument document)

Parameters

document TDocument

The document.

Update(IMongoUpdate)

Adds an update request to update all matching documents to the bulk operation.

public void Update(IMongoUpdate update)

Parameters

update IMongoUpdate

The update.

UpdateOne(IMongoUpdate)

Adds an update request to update one matching document to the bulk operation.

public void UpdateOne(IMongoUpdate update)

Parameters

update IMongoUpdate

The update.