Table of Contents

Constructor BulkWriteInsertOneModel

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

BulkWriteInsertOneModel(string, TDocument)

Initializes a new instance of the BulkWriteInsertOneModel<TDocument> class.

public BulkWriteInsertOneModel(string collectionNamespace, TDocument document)

Parameters

collectionNamespace string

Collection on which the operation should be performed.

document TDocument

The document.

BulkWriteInsertOneModel(CollectionNamespace, TDocument)

Initializes a new instance of the BulkWriteInsertOneModel<TDocument> class.

public BulkWriteInsertOneModel(CollectionNamespace collectionNamespace, TDocument document)

Parameters

collectionNamespace CollectionNamespace

Collection on which the operation should be performed.

document TDocument

The document.