Class DeleteOneModel<TDocument>
Model for deleting a single document.
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.