Class FindOneAndDeleteOperation<TResult>
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents a find one and delete operation.
public class FindOneAndDeleteOperation<TResult> : FindAndModifyOperationBase<TResult>, IWriteOperation<TResult>, IRetryableWriteOperation<TResult>, IExecutableInRetryableWriteContext<TResult>
Type Parameters
TResult
The type of the result.
- Inheritance
-
Find
And <TResult>Modify Operation Base FindOneAndDeleteOperation<TResult>
- Implements
-
IWrite
Operation <TResult>IRetryableWrite <TResult>Operation IExecutableInRetryable <TResult>Write Context
- Inherited Members
- Extension Methods
Constructors
- FindOneAndDeleteOperation(CollectionNamespace, BsonDocument, IBsonSerializer<TResult>, MessageEncoderSettings)
Initializes a new instance of the FindOneAndDeleteOperation<TResult> class.
Properties
- Filter
Gets the filter.
- Hint
Gets or sets the hint.
- Let
Gets or sets the let document.
- Max
Time Gets or sets the maximum time the server should spend on this operation.
- Projection
Gets or sets the projection.
- Sort
Gets or sets the sort specification.
Methods
- Get
Command Validator() Gets the command validator.