Click or drag to resize
IOrderedFindFluentTDocument, TProjection Interface
Fluent interface for find.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.1.0
Syntax
public interface 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 IOrderedFindFluentTDocument, TProjection type exposes the following members.

Methods
  NameDescription
Public methodAsTResult
A simplified type of projection that changes the result type by using a different serializer.
(Inherited from IFindFluentTDocument, TProjection.)
Public methodCountAsync
Counts the number of documents.
(Inherited from IFindFluentTDocument, TProjection.)
Public methodLimit
Limits the number of documents.
(Inherited from IFindFluentTDocument, TProjection.)
Public methodProjectTNewProjection
Projects the the result.
(Inherited from IFindFluentTDocument, TProjection.)
Public methodSkip
Skips the the specified number of documents.
(Inherited from IFindFluentTDocument, TProjection.)
Public methodSort
Sorts the the documents.
(Inherited from IFindFluentTDocument, TProjection.)
Public methodToCursorAsync
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSourceTDocument.)
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 MethodToListAsyncTProjection
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.)
Top
Properties
See Also