IOrderedFindFluentTDocument, TProjection Interface |
Namespace: MongoDB.Driver
public interface IOrderedFindFluent<TDocument, TProjection> : IFindFluent<TDocument, TProjection>, IAsyncCursorSource<TProjection>
The IOrderedFindFluentTDocument, TProjection type exposes the following members.
Name | Description | |
---|---|---|
Filter |
Gets or sets the filter.
(Inherited from IFindFluentTDocument, TProjection.) | |
Options |
Gets the options.
(Inherited from IFindFluentTDocument, TProjection.) |
Name | Description | |
---|---|---|
AsTResult |
A simplified type of projection that changes the result type by using a different serializer.
(Inherited from IFindFluentTDocument, TProjection.) | |
Count | Obsolete.
Counts the number of documents.
(Inherited from IFindFluentTDocument, TProjection.) | |
CountAsync | Obsolete.
Counts the number of documents.
(Inherited from IFindFluentTDocument, TProjection.) | |
CountDocuments |
Counts the number of documents.
(Inherited from IFindFluentTDocument, TProjection.) | |
CountDocumentsAsync |
Counts the number of documents.
(Inherited from IFindFluentTDocument, TProjection.) | |
Limit |
Limits the number of documents.
(Inherited from IFindFluentTDocument, TProjection.) | |
ProjectTNewProjection |
Projects the the result.
(Inherited from IFindFluentTDocument, TProjection.) | |
Skip |
Skips the the specified number of documents.
(Inherited from IFindFluentTDocument, TProjection.) | |
Sort |
Sorts the the documents.
(Inherited from IFindFluentTDocument, TProjection.) | |
ToCursor |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSourceTDocument.) | |
ToCursorAsync |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSourceTDocument.) |
Name | Description | |
---|---|---|
AnyTProjection |
Determines whether the cursor returned by a cursor source contains any documents.
(Defined by IAsyncCursorSourceExtensions.) | |
AnyAsyncTProjection |
Determines whether the cursor returned by a cursor source contains any documents.
(Defined by IAsyncCursorSourceExtensions.) | |
FirstTProjection |
Returns the first document of a cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
FirstAsyncTProjection |
Returns the first document of a cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
FirstOrDefaultTProjection |
Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.
(Defined by IAsyncCursorSourceExtensions.) | |
FirstOrDefaultAsyncTProjection |
Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncTProjection(ActionTProjection, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncTProjection(ActionTProjection, Int32, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncTProjection(FuncTProjection, Task, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncTProjection(FuncTProjection, Int32, Task, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
SingleTProjection |
Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document.
(Defined by IAsyncCursorSourceExtensions.) | |
SingleAsyncTProjection |
Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document.
(Defined by IAsyncCursorSourceExtensions.) | |
SingleOrDefaultTProjection |
Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.
This method throws an exception if the cursor contains more than one document.
(Defined by IAsyncCursorSourceExtensions.) | |
SingleOrDefaultAsyncTProjection |
Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.
This method throws an exception if the cursor contains more than one document.
(Defined by IAsyncCursorSourceExtensions.) | |
ToEnumerableTProjection |
Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
ToListTProjection |
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
ToListAsyncTProjection |
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) |