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