Click or drag to resize
FindFluentBaseTDocument, TProjection Class
Inheritance Hierarchy
SystemObject
  MongoDB.DriverFindFluentBaseTDocument, TProjection

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.0.1
Syntax
public abstract class FindFluentBase<TDocument, TProjection> : IOrderedFindFluent<TDocument, TProjection>, 
	IFindFluent<TDocument, TProjection>, IAsyncCursorSource<TProjection>

Type Parameters

TDocument
The type of the document.
TProjection
The type of the projection (same as TDocument if there is no projection).

The FindFluentBaseTDocument, TProjection type exposes the following members.

Constructors
  NameDescription
Protected methodFindFluentBaseTDocument, TProjection
Initializes a new instance of the FindFluentBaseTDocument, TProjection class
Top
Methods
  NameDescription
Public methodCountAsync
Counts the number of documents.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLimit
Limits the number of documents.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProjectTNewProjection
Projects the the result.
Public methodSkip
Skips the the specified number of documents.
Public methodSort
Sorts the the documents.
Public methodToCursorAsync
Executes the operation and returns a cursor to the results.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodForEachAsyncTProjection(FuncTProjection, Task, CancellationToken)Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.)
Public Extension MethodForEachAsyncTProjection(FuncTProjection, Int32, Task, CancellationToken)Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.)
Public Extension MethodForEachAsyncTProjection(ActionTProjection, CancellationToken)Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.)
Public Extension MethodForEachAsyncTProjection(ActionTProjection, Int32, CancellationToken)Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.)
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Public Extension MethodToListAsyncTProjection
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.)
Top
Properties
  NameDescription
Public propertyFilter
Gets or sets the filter.
Public propertyOptions
Gets the options.
Top
See Also