Table of Contents

Class InsertOneModel<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll
public sealed class InsertOneModel<TDocument> : WriteModel<TDocument>

Type Parameters

TDocument
Inheritance
WriteModel<TDocument>
InsertOneModel<TDocument>
Inherited Members

Constructors

InsertOneModel(TDocument)

public InsertOneModel(TDocument document)

Parameters

document TDocument

Properties

Document

public TDocument Document { get; }

Property Value

TDocument

ModelType

public override WriteModelType ModelType { get; }

Property Value

WriteModelType