Class BulkUpdateRequestBuilder<TDocument>
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
TDocumentThe document.
Update(IMongoUpdate)
Adds an update request to update all matching documents to the bulk operation.
public void Update(IMongoUpdate update)
Parameters
update
IMongoUpdateThe update.
UpdateOne(IMongoUpdate)
Adds an update request to update one matching document to the bulk operation.
public void UpdateOne(IMongoUpdate update)
Parameters
update
IMongoUpdateThe update.