Class DeleteManyModel

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Model for deleting many documents.

public sealed class DeleteManyModel<TDocument> : WriteModel<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance

DeleteManyModel

Inherited Members

Constructors

DeleteManyModel(FilterDefinition)

Initializes a new instance of the DeleteManyModel 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.