Table of Contents

Class BulkWriteOperation<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Represents a fluent builder for a bulk operation.

public sealed class BulkWriteOperation<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
BulkWriteOperation<TDocument>
Inherited Members
Extension Methods

Properties

BypassDocumentValidation

Gets or sets a value indicating whether to bypass document validation.

Methods

Execute()

Executes the bulk operation using the default write concern from the collection.

Execute(WriteConcern)

Executes the bulk operation.

Find(IMongoQuery, Collation)

Creates a builder for a new write request (either a remove or an update).

Insert(TDocument)

Adds an insert request for the specified document to the bulk operation.