Click or drag to resize
MongoQueryable Methods

The MongoQueryable type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAnyAsyncTSource(IMongoQueryableTSource, CancellationToken)
Determines whether a sequence contains any elements.
Public methodStatic memberAnyAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken)
Determines whether any element of a sequence satisfies a condition.
Public methodStatic memberAverageAsync(IMongoQueryableDecimal, CancellationToken)
Computes the average of a sequence of Decimal values.
Public methodStatic memberAverageAsync(IMongoQueryableDouble, CancellationToken)
Computes the average of a sequence of Double values.
Public methodStatic memberAverageAsync(IMongoQueryableInt32, CancellationToken)
Computes the average of a sequence of Int32 values.
Public methodStatic memberAverageAsync(IMongoQueryableInt64, CancellationToken)
Computes the average of a sequence of Int64 values.
Public methodStatic memberAverageAsync(IMongoQueryableNullableDecimal, CancellationToken)
Public methodStatic memberAverageAsync(IMongoQueryableNullableDouble, CancellationToken)
Public methodStatic memberAverageAsync(IMongoQueryableNullableInt32, CancellationToken)
Public methodStatic memberAverageAsync(IMongoQueryableNullableInt64, CancellationToken)
Public methodStatic memberAverageAsync(IMongoQueryableNullableSingle, CancellationToken)
Public methodStatic memberAverageAsync(IMongoQueryableSingle, CancellationToken)
Computes the average of a sequence of Single values.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberAverageAsyncTSource(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.
Public methodStatic memberCountAsyncTSource(IMongoQueryableTSource, CancellationToken)
Returns the number of elements in a sequence.
Public methodStatic memberCountAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken)
Returns the number of elements in the specified sequence that satisfies a condition.
Public methodStatic memberDistinctTSource
Returns distinct elements from a sequence by using the default equality comparer to compare values.
Public methodStatic memberFirstAsyncTSource(IQueryableTSource, CancellationToken)
Returns the first element of a sequence.
Public methodStatic memberFirstAsyncTSource(IQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken)
Returns the first element of a sequence that satisfies a specified condition.
Public methodStatic memberFirstOrDefaultAsyncTSource(IQueryableTSource, CancellationToken)
Returns the first element of a sequence, or a default value if the sequence contains no elements.
Public methodStatic memberFirstOrDefaultAsyncTSource(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.
Public methodStatic memberGroupByTSource, TKey(IMongoQueryableTSource, ExpressionFuncTSource, TKey)
Groups the elements of a sequence according to a specified key selector function.
Public methodStatic memberGroupByTSource, 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.
Public methodStatic memberLongCountAsyncTSource(IMongoQueryableTSource, CancellationToken)
Returns the number of elements in a sequence.
Public methodStatic memberLongCountAsyncTSource(IMongoQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken)
Returns the number of elements in the specified sequence that satisfies a condition.
Public methodStatic memberMaxAsyncTSource(IMongoQueryableTSource, CancellationToken)
Public methodStatic memberMaxAsyncTSource, TResult(IMongoQueryableTSource, ExpressionFuncTSource, TResult, CancellationToken)
Public methodStatic memberMinAsyncTSource(IMongoQueryableTSource, CancellationToken)
Public methodStatic memberMinAsyncTSource, TResult(IMongoQueryableTSource, ExpressionFuncTSource, TResult, CancellationToken)
Public methodStatic memberOfTypeTResult
Filters the elements of an IMongoQueryable based on a specified type.
Public methodStatic memberOrderByTSource, TKey
Sorts the elements of a sequence in ascending order according to a key.
Public methodStatic memberOrderByDescendingTSource, TKey
Sorts the elements of a sequence in descending order according to a key.
Public methodStatic memberSelectTSource, TResult
Projects each element of a sequence into a new form by incorporating the element's index.
Public methodStatic memberSelectManyTSource, TResult(IMongoQueryableTSource, ExpressionFuncTSource, IEnumerableTResult)
Public methodStatic memberSelectManyTSource, 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.
Public methodStatic memberSingleAsyncTSource(IQueryableTSource, CancellationToken)
Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.
Public methodStatic memberSingleAsyncTSource(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.
Public methodStatic memberSingleOrDefaultAsyncTSource(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.
Public methodStatic memberSingleOrDefaultAsyncTSource(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.
Public methodStatic memberSkipTSource
Bypasses a specified number of elements in a sequence and then returns the remaining elements.
Public methodStatic memberSumAsync(IMongoQueryableDecimal, CancellationToken)
Computes the sum of a sequence of Decimal values.
Public methodStatic memberSumAsync(IMongoQueryableDouble, CancellationToken)
Computes the sum of a sequence of Double values.
Public methodStatic memberSumAsync(IMongoQueryableInt32, CancellationToken)
Computes the sum of a sequence of Int32 values.
Public methodStatic memberSumAsync(IMongoQueryableInt64, CancellationToken)
Computes the sum of a sequence of Int64 values.
Public methodStatic memberSumAsync(IMongoQueryableNullableDecimal, CancellationToken)
Public methodStatic memberSumAsync(IMongoQueryableNullableDouble, CancellationToken)
Public methodStatic memberSumAsync(IMongoQueryableNullableInt32, CancellationToken)
Public methodStatic memberSumAsync(IMongoQueryableNullableInt64, CancellationToken)
Public methodStatic memberSumAsync(IMongoQueryableNullableSingle, CancellationToken)
Public methodStatic memberSumAsync(IMongoQueryableSingle, CancellationToken)
Computes the sum of a sequence of Single values.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberSumAsyncTSource(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.
Public methodStatic memberTakeTSource
Returns a specified number of contiguous elements from the start of a sequence.
Public methodStatic memberThenByTSource, TKey
Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
Public methodStatic memberThenByDescendingTSource, TKey
Performs a subsequent ordering of the elements in a sequence in descending order according to a key.
Public methodStatic memberWhereTSource
Filters a sequence of values based on a predicate.
Top
See Also