IFindFluentExtensions Class |
Inheritance Hierarchy
Namespace: MongoDB.DriverAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.4.1
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