Table of Contents

Class DeleteOneModel<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Model for deleting a single document.

[Serializable]
public sealed class DeleteOneModel<TDocument> : WriteModel<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
WriteModel<TDocument>
DeleteOneModel<TDocument>
Inherited Members

Constructors

DeleteOneModel(FilterDefinition<TDocument>)

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

Properties

Collation

Gets or sets the collation.

Filter

Gets the filter.

Hint

Gets or sets the hint.

ModelType

Gets the type of the model.