Click or drag to resize

IFindFluentExtensions Class

Inheritance Hierarchy
System.Object
  MongoDB.Driver.IFindFluentExtensions

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public static class IFindFluentExtensions

The IFindFluentExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFirst<TDocument, TProjection>
Get the first result.
Public methodStatic memberFirstAsync<TDocument, TProjection>
Get the first result.
Public methodStatic memberFirstOrDefault<TDocument, TProjection>
Get the first result or null.
Public methodStatic memberFirstOrDefaultAsync<TDocument, TProjection>
Get the first result or null.
Public methodStatic memberProject<TDocument, TProjection>(IFindFluent<TDocument, TProjection>, ProjectionDefinition<TDocument, BsonDocument>)
Projects the result.
Public methodStatic memberProject<TDocument, TProjection, TNewProjection>(IFindFluent<TDocument, TProjection>, Expression<Func<TDocument, TNewProjection>>)
Projects the result.
Public methodStatic memberSingle<TDocument, TProjection>
Gets a single result.
Public methodStatic memberSingleAsync<TDocument, TProjection>
Gets a single result.
Public methodStatic memberSingleOrDefault<TDocument, TProjection>
Gets a single result or null.
Public methodStatic memberSingleOrDefaultAsync<TDocument, TProjection>
Gets a single result or null.
Public methodStatic memberSortBy<TDocument, TProjection>
Sorts the results by an ascending field.
Public methodStatic memberSortByDescending<TDocument, TProjection>
Sorts the results by a descending field.
Public methodStatic memberThenBy<TDocument, TProjection>
Adds an ascending field to the existing sort.
Public methodStatic memberThenByDescending<TDocument, TProjection>
Adds a descending field to the existing sort.
Top
See Also