IFindFluentExtensions Class |
Inheritance Hierarchy
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntaxpublic 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 |
---|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | AnyTDocument, TProjection |
Determine if there are any results.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | AnyAsyncTDocument, TProjection |
Determine if there are any results.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | FirstTDocument, TProjection |
Get the first result.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | FirstAsyncTDocument, TProjection |
Get the first result.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | FirstOrDefaultTDocument, TProjection |
Get the first result or null.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | FirstOrDefaultAsyncTDocument, TProjection |
Get the first result or null.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | ProjectTDocument, TProjection(IFindFluentTDocument, TProjection, ProjectionDefinitionTDocument, BsonDocument) |
Projects the result.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | ProjectTDocument, TProjection, TNewProjection(IFindFluentTDocument, TProjection, ExpressionFuncTDocument, TNewProjection) |
Projects the result.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | SingleTDocument, TProjection |
Gets a single result.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | SingleAsyncTDocument, TProjection |
Gets a single result.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | SingleOrDefaultTDocument, TProjection |
Gets a single result or null.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | SingleOrDefaultAsyncTDocument, TProjection |
Gets a single result or null.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | SortByTDocument, TProjection |
Sorts the results by an ascending field.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | SortByDescendingTDocument, TProjection |
Sorts the results by a descending field.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | ThenByTDocument, TProjection |
Adds an ascending field to the existing sort.
|
![Public method Public method](../icons/pubmethod.gif) ![Static member Static member](../icons/static.gif) | ThenByDescendingTDocument, TProjection |
Adds a descending field to the existing sort.
|
Top
See Also