Class FindFluentBase<TDocument, TProjection>
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
public abstract class FindFluentBase<TDocument, TProjection> : IOrderedFindFluent<TDocument, TProjection>, IFindFluent<TDocument, TProjection>, IAsyncCursorSource<TProjection>
Type Parameters
TDocument
The type of the document.
TProjection
The type of the projection (same as TDocument if there is no projection).
Inheritance
FindFluentBase<TDocument, TProjection>
Implements
Inherited Members
Extension Methods
Properties
Gets or sets the filter.
Gets the options.
Methods
A simplified type of projection that changes the result type by using a different serializer.
Counts the number of documents.
Counts the number of documents.
CountDocuments(CancellationToken)
Counts the number of documents.
CountDocumentsAsync(CancellationToken)
Counts the number of documents.
Limits the number of documents.
Project(ProjectionDefinition<TDocument, TNewProjection>)
Projects the the result.
Skips the the specified number of documents.
Sorts the the documents.
Executes the operation and returns a cursor to the results.
ToCursorAsync(CancellationToken)
Executes the operation and returns a cursor to the results.
ToString(ExpressionTranslationOptions)
Returns a string representation of an IFindFluent instance.