Class FindOneAndDeleteOperation<TResult>
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
Represents a find one and delete operation.
[Obsolete("This class will be made internal in a later release.")]
public class FindOneAndDeleteOperation<TResult> : FindAndModifyOperationBase<TResult>, IWriteOperation<TResult>, IRetryableWriteOperation<TResult>, IExecutableInRetryableWriteContext<TResult>
Type Parameters
TResult
The type of the result.
- Inheritance
-
FindAndModifyOperationBase<TResult>FindOneAndDeleteOperation<TResult>
- Implements
-
IWriteOperation<TResult>IRetryableWriteOperation<TResult>IExecutableInRetryableWriteContext<TResult>
- 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.
- MaxTime
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
- GetCommandValidator()
Gets the command validator.