Table of Contents

Constructor InsertOneModel

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

InsertOneModel(TDocument)

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

public InsertOneModel(TDocument document)

Parameters

document TDocument

The document.