IOrderedFindFluent<TDocument, TProjection> Interface |
Namespace: MongoDB.Driver
public interface IOrderedFindFluent<TDocument, TProjection> : IFindFluent<TDocument, TProjection>, IAsyncCursorSource<TProjection>
The IOrderedFindFluent<TDocument, TProjection> type exposes the following members.
Name | Description | |
---|---|---|
![]() | Filter |
Gets or sets the filter.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | Options |
Gets the options.
(Inherited from IFindFluent<TDocument, TProjection>.) |
Name | Description | |
---|---|---|
![]() | As<TResult> |
A simplified type of projection that changes the result type by using a different serializer.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | Count | Obsolete.
Counts the number of documents.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | CountAsync | Obsolete.
Counts the number of documents.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | CountDocuments |
Counts the number of documents.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | CountDocumentsAsync |
Counts the number of documents.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | Limit |
Limits the number of documents.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | Project<TNewProjection> |
Projects the the result.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | Skip |
Skips the the specified number of documents.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | Sort |
Sorts the the documents.
(Inherited from IFindFluent<TDocument, TProjection>.) |
![]() | ToCursor |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSource<TDocument>.) |
![]() | ToCursorAsync |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSource<TDocument>.) |
Name | Description | |
---|---|---|
![]() | Any<TProjection> |
Determines whether the cursor returned by a cursor source contains any documents.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | AnyAsync<TProjection> |
Determines whether the cursor returned by a cursor source contains any documents.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | First<TProjection> |
Returns the first document of a cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | FirstAsync<TProjection> |
Returns the first document of a cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | FirstOrDefault<TProjection> |
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.) |
![]() | FirstOrDefaultAsync<TProjection> |
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.) |
![]() | ForEachAsync<TProjection>(Func<TProjection, Task>, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | ForEachAsync<TProjection>(Func<TProjection, Int32, Task>, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | ForEachAsync<TProjection>(Action<TProjection>, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | ForEachAsync<TProjection>(Action<TProjection, Int32>, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | Single<TProjection> |
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.) |
![]() | SingleAsync<TProjection> |
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.) |
![]() | SingleOrDefault<TProjection> |
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.) |
![]() | SingleOrDefaultAsync<TProjection> |
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.) |
![]() | ToEnumerable<TProjection> |
Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | ToList<TProjection> |
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) |
![]() | ToListAsync<TProjection> |
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) |