Class BulkWriteRequestBuilder<TDocument>
Represents a fluent builder for a write request (either a remove or an update).
public sealed class BulkWriteRequestBuilder<TDocument>
Type Parameters
TDocument
The type of the document.
- Inheritance
-
BulkWriteRequestBuilder<TDocument>
- Inherited Members
- Extension Methods
Methods
- Remove()
Adds a request to remove all matching documents to the bulk operation.
- RemoveOne()
Adds a request to remove one matching documents to the bulk operation.
- ReplaceOne(TDocument)
Adds a request to replace one matching documents to the bulk operation.
- Update(IMongoUpdate)
Adds a request to update all matching documents to the bulk operation.
- UpdateOne(IMongoUpdate)
Adds a request to update one matching documents to the bulk operation.
- Upsert()
Specifies that the request being built should be an upsert.