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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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
Returns a string that represents the current object.
(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