| MongoQueryable Class |
Namespace: MongoDB.Driver.Linq
The MongoQueryable type exposes the following members.
| Name | Description | |
|---|---|---|
| AnyAsyncTSource(IMongoQueryableTSource, CancellationToken) |
Determines whether a sequence contains any elements.
| |
| AnyAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken) |
Determines whether any element of a sequence satisfies a condition.
| |
| AverageAsync(IMongoQueryableDecimal, CancellationToken) |
Computes the average of a sequence of Decimal values.
| |
| AverageAsync(IMongoQueryableDouble, CancellationToken) |
Computes the average of a sequence of Double values.
| |
| AverageAsync(IMongoQueryableInt32, CancellationToken) |
Computes the average of a sequence of Int32 values.
| |
| AverageAsync(IMongoQueryableInt64, CancellationToken) |
Computes the average of a sequence of Int64 values.
| |
| AverageAsync(IMongoQueryableNullableDecimal, CancellationToken) |
Computes the average of a sequence of NullableT values.
| |
| AverageAsync(IMongoQueryableNullableDouble, CancellationToken) |
Computes the average of a sequence of NullableT values.
| |
| AverageAsync(IMongoQueryableNullableInt32, CancellationToken) |
Computes the average of a sequence of NullableT values.
| |
| AverageAsync(IMongoQueryableNullableInt64, CancellationToken) |
Computes the average of a sequence of NullableT values.
| |
| AverageAsync(IMongoQueryableNullableSingle, CancellationToken) |
Computes the average of a sequence of NullableT values.
| |
| AverageAsync(IMongoQueryableSingle, CancellationToken) |
Computes the average of a sequence of Single values.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Decimal, CancellationToken) |
Computes the average of the sequence of Decimal values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Double, CancellationToken) |
Computes the average of the sequence of Double values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Int32, CancellationToken) |
Computes the average of the sequence of Int32 values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Int64, CancellationToken) |
Computes the average of the sequence of Int64 values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableDecimal, CancellationToken) |
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableDouble, CancellationToken) |
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableInt32, CancellationToken) |
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableInt64, CancellationToken) |
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableSingle, CancellationToken) |
Computes the average of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| AverageAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Single, CancellationToken) |
Computes the average of the sequence of Single values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| CountAsyncTSource(IMongoQueryableTSource, CancellationToken) |
Returns the number of elements in a sequence.
| |
| CountAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken) |
Returns the number of elements in the specified sequence that satisfies a condition.
| |
| DistinctTSource |
Returns distinct elements from a sequence by using the default equality comparer to compare values.
| |
| FirstAsyncTSource(IQueryableTSource, CancellationToken) |
Returns the first element of a sequence.
| |
| FirstAsyncTSource(IQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken) |
Returns the first element of a sequence that satisfies a specified condition.
| |
| FirstOrDefaultAsyncTSource(IQueryableTSource, CancellationToken) |
Returns the first element of a sequence, or a default value if the sequence contains no elements.
| |
| FirstOrDefaultAsyncTSource(IQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken) |
Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found.
| |
| GroupByTSource, TKey(IMongoQueryableTSource, ExpressionFuncTSource, TKey) |
Groups the elements of a sequence according to a specified key selector function.
| |
| GroupByTSource, TKey, TResult(IMongoQueryableTSource, ExpressionFuncTSource, TKey, ExpressionFuncTKey, IEnumerableTSource, TResult) |
Groups the elements of a sequence according to a specified key selector function
and creates a result value from each group and its key.
| |
| LongCountAsyncTSource(IMongoQueryableTSource, CancellationToken) |
Returns the number of elements in a sequence.
| |
| LongCountAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken) |
Returns the number of elements in the specified sequence that satisfies a condition.
| |
| MaxAsyncTSource(IMongoQueryableTSource, CancellationToken) |
Returns the maximum value in a generic IMongoQueryableT.
| |
| MaxAsyncTSource, TResult(IMongoQueryableTSource, ExpressionFuncTSource, TResult, CancellationToken) |
Invokes a projection function on each element of a generic IMongoQueryableT and returns the maximum resulting value.
| |
| MinAsyncTSource(IMongoQueryableTSource, CancellationToken) |
Returns the minimum value in a generic IMongoQueryableT.
| |
| MinAsyncTSource, TResult(IMongoQueryableTSource, ExpressionFuncTSource, TResult, CancellationToken) |
Invokes a projection function on each element of a generic IMongoQueryableT and returns the minimum resulting value.
| |
| OfTypeTResult |
Filters the elements of an IMongoQueryable based on a specified type.
| |
| OrderByTSource, TKey |
Sorts the elements of a sequence in ascending order according to a key.
| |
| OrderByDescendingTSource, TKey |
Sorts the elements of a sequence in descending order according to a key.
| |
| SelectTSource, TResult |
Projects each element of a sequence into a new form by incorporating the
element's index.
| |
| SelectManyTSource, TResult(IMongoQueryableTSource, ExpressionFuncTSource, IEnumerableTResult) |
Projects each element of a sequence to an IEnumerableT and combines the resulting sequences into one sequence.
| |
| SelectManyTSource, TCollection, TResult(IMongoQueryableTSource, ExpressionFuncTSource, IEnumerableTCollection, ExpressionFuncTSource, TCollection, TResult) |
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.
| |
| SingleAsyncTSource(IQueryableTSource, CancellationToken) |
Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.
| |
| SingleAsyncTSource(IQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken) |
Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.
| |
| SingleOrDefaultAsyncTSource(IQueryableTSource, CancellationToken) |
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.
| |
| SingleOrDefaultAsyncTSource(IQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken) |
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.
| |
| SkipTSource |
Bypasses a specified number of elements in a sequence and then returns the
remaining elements.
| |
| SumAsync(IMongoQueryableDecimal, CancellationToken) |
Computes the sum of a sequence of Decimal values.
| |
| SumAsync(IMongoQueryableDouble, CancellationToken) |
Computes the sum of a sequence of Double values.
| |
| SumAsync(IMongoQueryableInt32, CancellationToken) |
Computes the sum of a sequence of Int32 values.
| |
| SumAsync(IMongoQueryableInt64, CancellationToken) |
Computes the sum of a sequence of Int64 values.
| |
| SumAsync(IMongoQueryableNullableDecimal, CancellationToken) |
Computes the sum of a sequence of NullableT values.
| |
| SumAsync(IMongoQueryableNullableDouble, CancellationToken) |
Computes the sum of a sequence of NullableT values.
| |
| SumAsync(IMongoQueryableNullableInt32, CancellationToken) |
Computes the sum of a sequence of NullableT values.
| |
| SumAsync(IMongoQueryableNullableInt64, CancellationToken) |
Computes the sum of a sequence of NullableT values.
| |
| SumAsync(IMongoQueryableNullableSingle, CancellationToken) |
Computes the sum of a sequence of NullableT values.
| |
| SumAsync(IMongoQueryableSingle, CancellationToken) |
Computes the sum of a sequence of Single values.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Decimal, CancellationToken) |
Computes the sum of the sequence of Decimal values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Double, CancellationToken) |
Computes the sum of the sequence of Double values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Int32, CancellationToken) |
Computes the sum of the sequence of Int32 values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Int64, CancellationToken) |
Computes the sum of the sequence of Int64 values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableDecimal, CancellationToken) |
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableDouble, CancellationToken) |
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableInt32, CancellationToken) |
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableInt64, CancellationToken) |
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, NullableSingle, CancellationToken) |
Computes the sum of the sequence of NullableT values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| SumAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Single, CancellationToken) |
Computes the sum of the sequence of Single values that is obtained
by invoking a projection function on each element of the input sequence.
| |
| TakeTSource |
Returns a specified number of contiguous elements from the start of a sequence.
| |
| ThenByTSource, TKey |
Performs a subsequent ordering of the elements in a sequence in ascending
order according to a key.
| |
| ThenByDescendingTSource, TKey |
Performs a subsequent ordering of the elements in a sequence in descending
order according to a key.
| |
| WhereTSource |
Filters a sequence of values based on a predicate.
|