IFindFluentExtensions Class |
Inheritance Hierarchy
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public static class IFindFluentExtensions
<ExtensionAttribute>
Public NotInheritable Class IFindFluentExtensions
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type IFindFluentExtensions = class end
The IFindFluentExtensions type exposes the following members.
Methods
| Name | Description |
---|
| FirstTDocument, TProjection |
Get the first result.
|
| FirstAsyncTDocument, TProjection |
Get the first result.
|
| FirstOrDefaultTDocument, TProjection |
Get the first result or null.
|
| FirstOrDefaultAsyncTDocument, TProjection |
Get the first result or null.
|
| ProjectTDocument, TProjection(IFindFluentTDocument, TProjection, ProjectionDefinitionTDocument, BsonDocument) |
Projects the result.
|
| ProjectTDocument, TProjection, TNewProjection(IFindFluentTDocument, TProjection, ExpressionFuncTDocument, TNewProjection) |
Projects the result.
|
| SingleTDocument, TProjection |
Gets a single result.
|
| SingleAsyncTDocument, TProjection |
Gets a single result.
|
| SingleOrDefaultTDocument, TProjection |
Gets a single result or null.
|
| SingleOrDefaultAsyncTDocument, TProjection |
Gets a single result or null.
|
| SortByTDocument, TProjection |
Sorts the results by an ascending field.
|
| SortByDescendingTDocument, TProjection |
Sorts the results by a descending field.
|
| ThenByTDocument, TProjection |
Adds an ascending field to the existing sort.
|
| ThenByDescendingTDocument, TProjection |
Adds a descending field to the existing sort.
|
TopSee Also