Constructor BulkWriteInsertOneModel
BulkWriteInsertOneModel(string, TDocument)
Initializes a new instance of the BulkWriteInsertOneModel<TDocument> class.
public BulkWriteInsertOneModel(string collectionNamespace, TDocument document)
Parameters
collectionNamespacestringCollection on which the operation should be performed.
documentTDocumentThe document.
BulkWriteInsertOneModel(CollectionNamespace, TDocument)
Initializes a new instance of the BulkWriteInsertOneModel<TDocument> class.
public BulkWriteInsertOneModel(CollectionNamespace collectionNamespace, TDocument document)
Parameters
collectionNamespaceCollectionNamespaceCollection on which the operation should be performed.
documentTDocumentThe document.