Click or drag to resize

FindCommandOperationTDocument Class

Represents a Find command operation.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.Core.OperationsFindCommandOperationTDocument

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public class FindCommandOperation<TDocument> : IReadOperation<IAsyncCursor<TDocument>>

Type Parameters

TDocument
The type of the document.

The FindCommandOperationTDocument type exposes the following members.

Constructors
  NameDescription
Public methodFindCommandOperationTDocument
Initializes a new instance of the FindCommandOperationTDocument class.
Top
Properties
  NameDescription
Public propertyAllowPartialResults
Gets or sets a value indicating whether the server is allowed to return partial results if any shards are unavailable.
Public propertyBatchSize
Gets or sets the size of a batch.
Public propertyCollation
Gets or sets the collation.
Public propertyCollectionNamespace
Gets the collection namespace.
Public propertyComment
Gets or sets the comment.
Public propertyCursorType
Gets or sets the type of the cursor.
Public propertyFilter
Gets or sets the filter.
Public propertyFirstBatchSize
Gets or sets the size of the first batch.
Public propertyHint
Gets or sets the hint.
Public propertyLimit
Gets or sets the limit.
Public propertyMax
Gets or sets the max key value.
Public propertyMaxAwaitTime
Gets or sets the maximum await time for TailableAwait cursors.
Public propertyMaxScan
Gets or sets the max scan.
Public propertyMaxTime
Gets or sets the maximum time the server should spend on this operation.
Public propertyMessageEncoderSettings
Gets the message encoder settings.
Public propertyMin
Gets or sets the min key value.
Public propertyNoCursorTimeout
Gets or sets a value indicating whether the server will not timeout the cursor.
Public propertyOplogReplay
Gets or sets a value indicating whether the OplogReplay bit will be set.
Public propertyProjection
Gets or sets the projection.
Public propertyReadConcern
Gets or sets the read concern.
Public propertyResultSerializer
Gets the result serializer.
Public propertyReturnKey
Gets or sets whether to only return the key values.
Public propertyShowRecordId
Gets or sets whether the record Id should be added to the result document.
Public propertySingleBatch
Gets or sets whether to return only a single batch.
Public propertySkip
Gets or sets the number of documents skip.
Public propertySnapshot
Gets or sets whether to use snapshot behavior.
Public propertySort
Gets or sets the sort specification.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodExecute
Executes the operation.
Public methodExecuteAsync
Executes the operation.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Extension Methods
See Also