Class BulkUpdateRequestBuilder<TDocument>
Represents a fluent builder for one update request.
public sealed class BulkUpdateRequestBuilder<TDocument>
Type Parameters
TDocumentThe 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
documentTDocumentThe document.
Update(IMongoUpdate)
Adds an update request to update all matching documents to the bulk operation.
public void Update(IMongoUpdate update)
Parameters
updateIMongoUpdateThe update.
UpdateOne(IMongoUpdate)
Adds an update request to update one matching document to the bulk operation.
public void UpdateOne(IMongoUpdate update)
Parameters
updateIMongoUpdateThe update.