Class InsertOneModel
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Model for inserting a single document.
public sealed class InsertOneModel<TDocument> : WriteModel<TDocument>
Type Parameters
TDocument
The type of the document.
Inheritance
InsertOneModel
Inherited Members
object.ReferenceEquals(object, object)
Constructors
Initializes a new instance of the InsertOneModel class.
Properties
Gets the document.
Gets the type of the model.