Click or drag to resize

BulkWriteRequestBuilderTDocument Class

Represents a fluent builder for a write request (either a remove or an update).
Inheritance Hierarchy
SystemObject
  MongoDB.DriverBulkWriteRequestBuilderTDocument

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public sealed class BulkWriteRequestBuilder<TDocument>

Type Parameters

TDocument
The type of the document.

The BulkWriteRequestBuilderTDocument type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRemove
Adds a request to remove all matching documents to the bulk operation.
Public methodRemoveOne
Adds a request to remove one matching documents to the bulk operation.
Public methodReplaceOne
Adds a request to replace one matching documents to the bulk operation.
Public methodToString (Inherited from Object.)
Public methodUpdate
Adds a request to update all matching documents to the bulk operation.
Public methodUpdateOne
Adds a request to update one matching documents to the bulk operation.
Public methodUpsert
Specifies that the request being built should be an upsert.
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also