Class BulkWriteInsertOneModel

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Represents insert one operation in the scope of BulkWrite operation.

public sealed class BulkWriteInsertOneModel<TDocument> : BulkWriteModel

Type Parameters

TDocument

The type of the document.

Inheritance

BulkWriteInsertOneModel

Inherited Members

Constructors

BulkWriteInsertOneModel(CollectionNamespace, TDocument)

Initializes a new instance of the BulkWriteInsertOneModel class.

BulkWriteInsertOneModel(string, TDocument)

Initializes a new instance of the BulkWriteInsertOneModel class.

Properties

Document

The document to insert