FindFluentBaseTDocument, TProjection Methods |
The FindFluentBaseTDocument, TProjection generic type exposes the following members.
| Name | Description | |
|---|---|---|
| AsTResult |
A simplified type of projection that changes the result type by using a different serializer.
| |
| Count | Obsolete.
Counts the number of documents.
| |
| CountAsync | Obsolete.
Counts the number of documents.
| |
| CountDocuments |
Counts the number of documents.
| |
| CountDocumentsAsync |
Counts the number of documents.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Limit |
Limits the number of documents.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ProjectTNewProjection |
Projects the the result.
| |
| Skip |
Skips the the specified number of documents.
| |
| Sort |
Sorts the the documents.
| |
| ToCursor |
Executes the operation and returns a cursor to the results.
| |
| ToCursorAsync |
Executes the operation and returns a cursor to the results.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| AnyTProjection |
Determines whether the cursor returned by a cursor source contains any documents.
(Defined by IAsyncCursorSourceExtensions.) | |
| AnyAsyncTProjection |
Determines whether the cursor returned by a cursor source contains any documents.
(Defined by IAsyncCursorSourceExtensions.) | |
| FirstTProjection |
Returns the first document of a cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
| FirstAsyncTProjection |
Returns the first document of a cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
| FirstOrDefaultTProjection |
Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.
(Defined by IAsyncCursorSourceExtensions.) | |
| FirstOrDefaultAsyncTProjection |
Returns the first document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.
(Defined by IAsyncCursorSourceExtensions.) | |
| ForEachAsyncTProjection(FuncTProjection, Task, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
| ForEachAsyncTProjection(FuncTProjection, Int32, Task, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
| ForEachAsyncTProjection(ActionTProjection, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
| ForEachAsyncTProjection(ActionTProjection, Int32, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
| SingleTProjection |
Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document.
(Defined by IAsyncCursorSourceExtensions.) | |
| SingleAsyncTProjection |
Returns the only document of a cursor returned by a cursor source. This method throws an exception if the cursor does not contain exactly one document.
(Defined by IAsyncCursorSourceExtensions.) | |
| SingleOrDefaultTProjection |
Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.
This method throws an exception if the cursor contains more than one document.
(Defined by IAsyncCursorSourceExtensions.) | |
| SingleOrDefaultAsyncTProjection |
Returns the only document of a cursor returned by a cursor source, or a default value if the cursor contains no documents.
This method throws an exception if the cursor contains more than one document.
(Defined by IAsyncCursorSourceExtensions.) | |
| ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
| ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
| ToEnumerableTProjection |
Wraps a cursor source in an IEnumerable. Each time GetEnumerator is called a new cursor is fetched from the cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
| ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) | |
| ToListTProjection |
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
| ToListAsyncTProjection |
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) |