Click or drag to resize
FindOperationTDocument Class
Represents a Find operation.
Inheritance Hierarchy
SystemObject
  MongoDB.Driver.Core.OperationsFindOperationTDocument

Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.1.0
Syntax
public class FindOperation<TDocument> : IReadOperation<IAsyncCursor<TDocument>>

Type Parameters

TDocument
The type of the returned documents.

The FindOperationTDocument type exposes the following members.

Constructors
  NameDescription
Public methodFindOperationTDocument
Initializes a new instance of the FindOperationTDocument class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteAsync
Executes the operation.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToExplainOperation
Returns an explain operation for this find operation.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
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 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 propertyLimit
Gets or sets the limit.
Public propertyMaxTime
Gets or sets the maximum time the server should spend on this operation.
Public propertyMessageEncoderSettings
Gets the message encoder settings.
Public propertyModifiers
Gets or sets any additional query modifiers.
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 propertyResultSerializer
Gets the result serializer.
Public propertySkip
Gets or sets the number of documents skip.
Public propertySort
Gets or sets the sort specification.
Top
See Also