IMongoQueryableT Methods |
The IMongoQueryableT generic type exposes the following members.
Name | Description | |
---|---|---|
GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
GetExecutionModel |
Gets the execution model.
(Inherited from IMongoQueryable.) | |
ToCursorAsync |
Executes the operation and returns a cursor to the results.
(Inherited from IAsyncCursorSourceTDocument.) |
Name | Description | |
---|---|---|
AnyAsyncTSource(CancellationToken) | Overloaded.
Determines whether a sequence contains any elements.
(Defined by MongoQueryable.) | |
AnyAsyncTSource(ExpressionFuncTSource, Boolean, CancellationToken) | Overloaded.
Determines whether any element of a sequence satisfies a condition.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, Decimal, CancellationToken) | Overloaded.
Computes the average of the sequence of Decimal values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, NullableDecimal, CancellationToken) | Overloaded.
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, Double, CancellationToken) | Overloaded.
Computes the average of the sequence of Double values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, NullableDouble, CancellationToken) | Overloaded.
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, Single, CancellationToken) | Overloaded.
Computes the average of the sequence of Single values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, NullableSingle, CancellationToken) | Overloaded.
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, Int32, CancellationToken) | Overloaded.
Computes the average of the sequence of Int32 values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, NullableInt32, CancellationToken) | Overloaded.
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, Int64, CancellationToken) | Overloaded.
Computes the average of the sequence of Int64 values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
AverageAsyncTSource(ExpressionFuncTSource, NullableInt64, CancellationToken) | Overloaded.
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
ContainsAllT |
Determines whether a sequence contains all of the specified values.
(Defined by LinqToMongo.) | |
ContainsAnyT |
Determines whether a sequence contains any of the specified values.
(Defined by LinqToMongo.) | |
CountAsyncTSource(CancellationToken) | Overloaded.
Returns the number of elements in a sequence.
(Defined by MongoQueryable.) | |
CountAsyncTSource(ExpressionFuncTSource, Boolean, CancellationToken) | Overloaded.
Returns the number of elements in the specified sequence that satisfies a condition.
(Defined by MongoQueryable.) | |
DistinctTSource |
Returns distinct elements from a sequence by using the default equality comparer to compare values.
(Defined by MongoQueryable.) | |
ExplainT | Overloaded.
Returns an explanation of how the query was executed (instead of the results).
(Defined by LinqExtensionMethods.) | |
ExplainT(Boolean) | Overloaded.
Returns an explanation of how the query was executed (instead of the results).
(Defined by LinqExtensionMethods.) | |
FirstAsyncT(CancellationToken) | Overloaded.
Returns the first element of a sequence.
(Defined by MongoQueryable.) | |
FirstAsyncT(ExpressionFuncT, Boolean, CancellationToken) | Overloaded.
Returns the first element of a sequence that satisfies a specified condition.
(Defined by MongoQueryable.) | |
FirstOrDefaultAsyncT(CancellationToken) | Overloaded.
Returns the first element of a sequence, or a default value if the sequence contains no elements.
(Defined by MongoQueryable.) | |
FirstOrDefaultAsyncT(ExpressionFuncT, Boolean, CancellationToken) | Overloaded.
Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found.
(Defined by MongoQueryable.) | |
ForEachAsyncT(FuncT, Task, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncT(FuncT, Int32, Task, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncT(ActionT, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
ForEachAsyncT(ActionT, Int32, CancellationToken) | Overloaded.
Calls a delegate for each document returned by the cursor.
(Defined by IAsyncCursorSourceExtensions.) | |
GroupByTSource, TKey(ExpressionFuncTSource, TKey) | Overloaded.
Groups the elements of a sequence according to a specified key selector function.
(Defined by MongoQueryable.) | |
GroupByTSource, TKey, TResult(ExpressionFuncTSource, TKey, ExpressionFuncTKey, IEnumerableTSource, TResult) | Overloaded.
Groups the elements of a sequence according to a specified key selector function
and creates a result value from each group and its key.
(Defined by MongoQueryable.) | |
LongCountAsyncTSource(CancellationToken) | Overloaded.
Returns the number of elements in a sequence.
(Defined by MongoQueryable.) | |
LongCountAsyncTSource(ExpressionFuncTSource, Boolean, CancellationToken) | Overloaded.
Returns the number of elements in the specified sequence that satisfies a condition.
(Defined by MongoQueryable.) | |
MaxAsyncTSource(CancellationToken) | Overloaded.
Returns the maximum value in a generic IMongoQueryableT.
(Defined by MongoQueryable.) | |
MaxAsyncTSource, TResult(ExpressionFuncTSource, TResult, CancellationToken) | Overloaded.
Invokes a projection function on each element of a generic IMongoQueryableT and returns the maximum resulting value.
(Defined by MongoQueryable.) | |
MinAsyncTSource(CancellationToken) | Overloaded.
Returns the minimum value in a generic IMongoQueryableT.
(Defined by MongoQueryable.) | |
MinAsyncTSource, TResult(ExpressionFuncTSource, TResult, CancellationToken) | Overloaded.
Invokes a projection function on each element of a generic IMongoQueryableT and returns the minimum resulting value.
(Defined by MongoQueryable.) | |
OfTypeTResult |
Filters the elements of an IMongoQueryable based on a specified type.
(Defined by MongoQueryable.) | |
OrderByTSource, TKey |
Sorts the elements of a sequence in ascending order according to a key.
(Defined by MongoQueryable.) | |
OrderByDescendingTSource, TKey |
Sorts the elements of a sequence in descending order according to a key.
(Defined by MongoQueryable.) | |
SelectTSource, TResult |
Projects each element of a sequence into a new form by incorporating the
element's index.
(Defined by MongoQueryable.) | |
SelectManyTSource, TResult(ExpressionFuncTSource, IEnumerableTResult) | Overloaded.
Projects each element of a sequence to an IEnumerableT and combines the resulting sequences into one sequence.
(Defined by MongoQueryable.) | |
SelectManyTSource, TCollection, TResult(ExpressionFuncTSource, IEnumerableTCollection, ExpressionFuncTSource, TCollection, TResult) | Overloaded.
Projects each element of a sequence to an IEnumerableT and
invokes a result selector function on each element therein. The resulting values from
each intermediate sequence are combined into a single, one-dimensional sequence and returned.
(Defined by MongoQueryable.) | |
SingleAsyncT(CancellationToken) | Overloaded.
Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.
(Defined by MongoQueryable.) | |
SingleAsyncT(ExpressionFuncT, Boolean, CancellationToken) | Overloaded.
Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.
(Defined by MongoQueryable.) | |
SingleOrDefaultAsyncT(CancellationToken) | Overloaded.
Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.
(Defined by MongoQueryable.) | |
SingleOrDefaultAsyncT(ExpressionFuncT, Boolean, CancellationToken) | Overloaded.
Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.
(Defined by MongoQueryable.) | |
SkipTSource |
Bypasses a specified number of elements in a sequence and then returns the
remaining elements.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, Decimal, CancellationToken) | Overloaded.
Computes the sum of the sequence of Decimal values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, NullableDecimal, CancellationToken) | Overloaded.
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, Double, CancellationToken) | Overloaded.
Computes the sum of the sequence of Double values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, NullableDouble, CancellationToken) | Overloaded.
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, Single, CancellationToken) | Overloaded.
Computes the sum of the sequence of Single values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, NullableSingle, CancellationToken) | Overloaded.
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, Int32, CancellationToken) | Overloaded.
Computes the sum of the sequence of Int32 values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, NullableInt32, CancellationToken) | Overloaded.
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, Int64, CancellationToken) | Overloaded.
Computes the sum of the sequence of Int64 values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
SumAsyncTSource(ExpressionFuncTSource, NullableInt64, CancellationToken) | Overloaded.
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
(Defined by MongoQueryable.) | |
TakeTSource |
Returns a specified number of contiguous elements from the start of a sequence.
(Defined by MongoQueryable.) | |
ToListAsyncT |
Returns a list containing all the documents returned by the cursor returned by a cursor source.
(Defined by IAsyncCursorSourceExtensions.) | |
WhereTSource |
Filters a sequence of values based on a predicate.
(Defined by MongoQueryable.) | |
WithIndexT(String) | Overloaded.
Sets an index hint on the query that's being built.
(Defined by LinqToMongo.) | |
WithIndexT(BsonDocument) | Overloaded.
Sets an index hint on the query that's being built.
(Defined by LinqToMongo.) |