Constructor BulkWriteInsertOneModel
BulkWriteInsertOneModel(string, TDocument)
Initializes a new instance of the BulkWriteInsertOneModel<TDocument> class.
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.
Parameters
collectionNamespace
CollectionNamespace Collection on which the operation should be performed.
document
TDocumentThe document.