QueryableExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Useful extension methods for use with Entity Framework LINQ queries.
public static class QueryableExtensions
type QueryableExtensions = class
Public Module QueryableExtensions
- Inheritance
-
QueryableExtensions
Methods
AllAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) |
Asynchronously determines whether all the elements of a sequence satisfy a condition. |
AllAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>, CancellationToken) |
Asynchronously determines whether all the elements of a sequence satisfy a condition. |
AnyAsync<TSource>(IQueryable<TSource>) |
Asynchronously determines whether a sequence contains any elements. |
AnyAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously determines whether a sequence contains any elements. |
AnyAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) |
Asynchronously determines whether any element of a sequence satisfies a condition. |
AnyAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>, CancellationToken) |
Asynchronously determines whether any element of a sequence satisfies a condition. |
AsNoTracking(IQueryable) |
Returns a new query where the entities returned will not be cached in the DbContext or ObjectContext. This method works by calling the AsNoTracking method of the underlying query object. If the underlying query object does not have an AsNoTracking method, then calling this method will have no affect. |
AsNoTracking<T>(IQueryable<T>) |
Returns a new query where the entities returned will not be cached in the DbContext or ObjectContext. This method works by calling the AsNoTracking method of the underlying query object. If the underlying query object does not have an AsNoTracking method, then calling this method will have no affect. |
AsStreaming(IQueryable) |
Obsolete.
Returns a new query that will stream the results instead of buffering. This method works by calling the AsStreaming method of the underlying query object. If the underlying query object does not have an AsStreaming method, then calling this method will have no affect. |
AsStreaming<T>(IQueryable<T>) |
Obsolete.
Returns a new query that will stream the results instead of buffering. This method works by calling the AsStreaming method of the underlying query object. If the underlying query object does not have an AsStreaming method, then calling this method will have no affect. |
AverageAsync(IQueryable<Decimal>) |
Asynchronously computes the average of a sequence of Decimal values. |
AverageAsync(IQueryable<Decimal>, CancellationToken) |
Asynchronously computes the average of a sequence of Decimal values. |
AverageAsync(IQueryable<Double>) |
Asynchronously computes the average of a sequence of Double values. |
AverageAsync(IQueryable<Double>, CancellationToken) |
Asynchronously computes the average of a sequence of Double values. |
AverageAsync(IQueryable<Int32>) |
Asynchronously computes the average of a sequence of Int32 values. |
AverageAsync(IQueryable<Int32>, CancellationToken) |
Asynchronously computes the average of a sequence of Int32 values. |
AverageAsync(IQueryable<Int64>) |
Asynchronously computes the average of a sequence of Int64 values. |
AverageAsync(IQueryable<Int64>, CancellationToken) |
Asynchronously computes the average of a sequence of Int64 values. |
AverageAsync(IQueryable<Nullable<Decimal>>) |
Asynchronously computes the average of a sequence of nullable Decimal values. |
AverageAsync(IQueryable<Nullable<Decimal>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Decimal values. |
AverageAsync(IQueryable<Nullable<Double>>) |
Asynchronously computes the average of a sequence of nullable Double values. |
AverageAsync(IQueryable<Nullable<Double>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Double values. |
AverageAsync(IQueryable<Nullable<Int32>>) |
Asynchronously computes the average of a sequence of nullable Int32 values. |
AverageAsync(IQueryable<Nullable<Int32>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Int32 values. |
AverageAsync(IQueryable<Nullable<Int64>>) |
Asynchronously computes the average of a sequence of nullable Int64 values. |
AverageAsync(IQueryable<Nullable<Int64>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Int64 values. |
AverageAsync(IQueryable<Nullable<Single>>) |
Asynchronously computes the average of a sequence of nullable Single values. |
AverageAsync(IQueryable<Nullable<Single>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Single values. |
AverageAsync(IQueryable<Single>) |
Asynchronously computes the average of a sequence of Single values. |
AverageAsync(IQueryable<Single>, CancellationToken) |
Asynchronously computes the average of a sequence of Single values. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>) |
Asynchronously computes the average of a sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>, CancellationToken) |
Asynchronously computes the average of a sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>) |
Asynchronously computes the average of a sequence of Double values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>, CancellationToken) |
Asynchronously computes the average of a sequence of Double values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>) |
Asynchronously computes the average of a sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>, CancellationToken) |
Asynchronously computes the average of a sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>) |
Asynchronously computes the average of a sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>, CancellationToken) |
Asynchronously computes the average of a sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>) |
Asynchronously computes the average of a sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>) |
Asynchronously computes the average of a sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>) |
Asynchronously computes the average of a sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>) |
Asynchronously computes the average of a sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>) |
Asynchronously computes the average of a sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>, CancellationToken) |
Asynchronously computes the average of a sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>) |
Asynchronously computes the average of a sequence of Single values that is obtained by invoking a projection function on each element of the input sequence. |
AverageAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>, CancellationToken) |
Asynchronously computes the average of a sequence of Single values that is obtained by invoking a projection function on each element of the input sequence. |
ContainsAsync<TSource>(IQueryable<TSource>, TSource) |
Asynchronously determines whether a sequence contains a specified element by using the default equality comparer. |
ContainsAsync<TSource>(IQueryable<TSource>, TSource, CancellationToken) |
Asynchronously determines whether a sequence contains a specified element by using the default equality comparer. |
CountAsync<TSource>(IQueryable<TSource>) |
Asynchronously returns the number of elements in a sequence. |
CountAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously returns the number of elements in a sequence. |
CountAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) |
Asynchronously returns the number of elements in a sequence that satisfy a condition. |
CountAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>, CancellationToken) |
Asynchronously returns the number of elements in a sequence that satisfy a condition. |
FirstAsync<TSource>(IQueryable<TSource>) |
Asynchronously returns the first element of a sequence. |
FirstAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously returns the first element of a sequence. |
FirstAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) |
Asynchronously returns the first element of a sequence that satisfies a specified condition. |
FirstAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>, CancellationToken) |
Asynchronously returns the first element of a sequence that satisfies a specified condition. |
FirstOrDefaultAsync<TSource>(IQueryable<TSource>) |
Asynchronously returns the first element of a sequence, or a default value if the sequence contains no elements. |
FirstOrDefaultAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously returns the first element of a sequence, or a default value if the sequence contains no elements. |
FirstOrDefaultAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) |
Asynchronously returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. |
FirstOrDefaultAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>, CancellationToken) |
Asynchronously returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found. |
ForEachAsync(IQueryable, Action<Object>) |
Asynchronously enumerates the query results and performs the specified action on each element. |
ForEachAsync(IQueryable, Action<Object>, CancellationToken) |
Asynchronously enumerates the query results and performs the specified action on each element. |
ForEachAsync<T>(IQueryable<T>, Action<T>) |
Asynchronously enumerates the query results and performs the specified action on each element. |
ForEachAsync<T>(IQueryable<T>, Action<T>, CancellationToken) |
Asynchronously enumerates the query results and performs the specified action on each element. |
Include(IQueryable, String) |
Specifies the related objects to include in the query results. |
Include<T,TProperty>(IQueryable<T>, Expression<Func<T,TProperty>>) |
Specifies the related objects to include in the query results. |
Include<T>(IQueryable<T>, String) |
Specifies the related objects to include in the query results. |
Load(IQueryable) |
Enumerates the query such that for server queries such as those of DbSet<TEntity>, ObjectSet<TEntity> , ObjectQuery<T>, and others the results of the query will be loaded into the associated DbContext , ObjectContext or other cache on the client. This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. |
LoadAsync(IQueryable) |
Asynchronously enumerates the query such that for server queries such as those of DbSet<TEntity>, ObjectSet<TEntity> , ObjectQuery<T>, and others the results of the query will be loaded into the associated DbContext , ObjectContext or other cache on the client. This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. |
LoadAsync(IQueryable, CancellationToken) |
Asynchronously enumerates the query such that for server queries such as those of DbSet<TEntity>, ObjectSet<TEntity> , ObjectQuery<T>, and others the results of the query will be loaded into the associated DbContext , ObjectContext or other cache on the client. This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. |
LongCountAsync<TSource>(IQueryable<TSource>) |
Asynchronously returns an Int64 that represents the total number of elements in a sequence. |
LongCountAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously returns an Int64 that represents the total number of elements in a sequence. |
LongCountAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) |
Asynchronously returns an Int64 that represents the number of elements in a sequence that satisfy a condition. |
LongCountAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>, CancellationToken) |
Asynchronously returns an Int64 that represents the number of elements in a sequence that satisfy a condition. |
MaxAsync<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>) |
Asynchronously invokes a projection function on each element of a sequence and returns the maximum resulting value. |
MaxAsync<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>, CancellationToken) |
Asynchronously invokes a projection function on each element of a sequence and returns the maximum resulting value. |
MaxAsync<TSource>(IQueryable<TSource>) |
Asynchronously returns the maximum value of a sequence. |
MaxAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously returns the maximum value of a sequence. |
MinAsync<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>) |
Asynchronously invokes a projection function on each element of a sequence and returns the minimum resulting value. |
MinAsync<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>, CancellationToken) |
Asynchronously invokes a projection function on each element of a sequence and returns the minimum resulting value. |
MinAsync<TSource>(IQueryable<TSource>) |
Asynchronously returns the minimum value of a sequence. |
MinAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously returns the minimum value of a sequence. |
SingleAsync<TSource>(IQueryable<TSource>) |
Asynchronously returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. |
SingleAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. |
SingleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) |
Asynchronously returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. |
SingleAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>, CancellationToken) |
Asynchronously returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. |
SingleOrDefaultAsync<TSource>(IQueryable<TSource>) |
Asynchronously 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. |
SingleOrDefaultAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Asynchronously 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. |
SingleOrDefaultAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) |
Asynchronously 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. |
SingleOrDefaultAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>, CancellationToken) |
Asynchronously 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. |
Skip<TSource>(IQueryable<TSource>, Expression<Func<Int32>>) |
Bypasses a specified number of elements in a sequence and then returns the remaining elements. |
SumAsync(IQueryable<Decimal>) |
Asynchronously computes the sum of a sequence of Decimal values. |
SumAsync(IQueryable<Decimal>, CancellationToken) |
Asynchronously computes the sum of a sequence of Decimal values. |
SumAsync(IQueryable<Double>) |
Asynchronously computes the sum of a sequence of Double values. |
SumAsync(IQueryable<Double>, CancellationToken) |
Asynchronously computes the sum of a sequence of Double values. |
SumAsync(IQueryable<Int32>) |
Asynchronously computes the sum of a sequence of Int32 values. |
SumAsync(IQueryable<Int32>, CancellationToken) |
Asynchronously computes the sum of a sequence of Int32 values. |
SumAsync(IQueryable<Int64>) |
Asynchronously computes the sum of a sequence of Int64 values. |
SumAsync(IQueryable<Int64>, CancellationToken) |
Asynchronously computes the sum of a sequence of Int64 values. |
SumAsync(IQueryable<Nullable<Decimal>>) |
Asynchronously computes the sum of a sequence of nullable Decimal values. |
SumAsync(IQueryable<Nullable<Decimal>>, CancellationToken) |
Asynchronously computes the sum of a sequence of nullable Decimal values. |
SumAsync(IQueryable<Nullable<Double>>) |
Asynchronously computes the sum of a sequence of nullable Double values. |
SumAsync(IQueryable<Nullable<Double>>, CancellationToken) |
Asynchronously computes the sum of a sequence of nullable Double values. |
SumAsync(IQueryable<Nullable<Int32>>) |
Asynchronously computes the sum of a sequence of nullable Int32 values. |
SumAsync(IQueryable<Nullable<Int32>>, CancellationToken) |
Asynchronously computes the sum of a sequence of nullable Int32 values. |
SumAsync(IQueryable<Nullable<Int64>>) |
Asynchronously computes the sum of a sequence of nullable Int64 values. |
SumAsync(IQueryable<Nullable<Int64>>, CancellationToken) |
Asynchronously computes the sum of a sequence of nullable Int64 values. |
SumAsync(IQueryable<Nullable<Single>>) |
Asynchronously computes the sum of a sequence of nullable Single values. |
SumAsync(IQueryable<Nullable<Single>>, CancellationToken) |
Asynchronously computes the sum of a sequence of nullable Single values. |
SumAsync(IQueryable<Single>) |
Asynchronously computes the sum of a sequence of Single values. |
SumAsync(IQueryable<Single>, CancellationToken) |
Asynchronously computes the sum of a sequence of Single values. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>) |
Asynchronously computes the sum of the sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>, CancellationToken) |
Asynchronously computes the sum of the sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>) |
Asynchronously computes the sum of the sequence of Double values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>, CancellationToken) |
Asynchronously computes the sum of the sequence of Double values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>) |
Asynchronously computes the sum of the sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>, CancellationToken) |
Asynchronously computes the sum of the sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>) |
Asynchronously computes the sum of the sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>, CancellationToken) |
Asynchronously computes the sum of the sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>) |
Asynchronously computes the sum of the sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>, CancellationToken) |
Asynchronously computes the sum of the sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>) |
Asynchronously computes the sum of the sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>, CancellationToken) |
Asynchronously computes the sum of the sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>) |
Asynchronously computes the sum of the sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>, CancellationToken) |
Asynchronously computes the sum of the sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>) |
Asynchronously computes the sum of the sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>, CancellationToken) |
Asynchronously computes the sum of the sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>) |
Asynchronously computes the sum of the sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>, CancellationToken) |
Asynchronously computes the sum of the sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>) |
Asynchronously computes the sum of the sequence of Single values that is obtained by invoking a projection function on each element of the input sequence. |
SumAsync<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>, CancellationToken) |
Asynchronously computes the sum of the sequence of Single values that is obtained by invoking a projection function on each element of the input sequence. |
Take<TSource>(IQueryable<TSource>, Expression<Func<Int32>>) |
Returns a specified number of contiguous elements from the start of a sequence. |
ToArrayAsync<TSource>(IQueryable<TSource>) |
Creates an array from an IQueryable<T> by enumerating it asynchronously. |
ToArrayAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Creates an array from an IQueryable<T> by enumerating it asynchronously. |
ToDictionaryAsync<TSource,TKey,TElement>(IQueryable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>) |
Creates a Dictionary<TKey,TValue> from an IQueryable<T> by enumerating it asynchronously according to a specified key selector and an element selector function. |
ToDictionaryAsync<TSource,TKey,TElement>(IQueryable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, CancellationToken) |
Creates a Dictionary<TKey,TValue> from an IQueryable<T> by enumerating it asynchronously according to a specified key selector and an element selector function. |
ToDictionaryAsync<TSource,TKey,TElement>(IQueryable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>) |
Creates a Dictionary<TKey,TValue> from an IQueryable<T> by enumerating it asynchronously according to a specified key selector function, a comparer, and an element selector function. |
ToDictionaryAsync<TSource,TKey,TElement>(IQueryable<TSource>, Func<TSource,TKey>, Func<TSource,TElement>, IEqualityComparer<TKey>, CancellationToken) |
Creates a Dictionary<TKey,TValue> from an IQueryable<T> by enumerating it asynchronously according to a specified key selector function, a comparer, and an element selector function. |
ToDictionaryAsync<TSource,TKey>(IQueryable<TSource>, Func<TSource,TKey>) |
Creates a Dictionary<TKey,TValue> from an IQueryable<T> by enumerating it asynchronously according to a specified key selector function. |
ToDictionaryAsync<TSource,TKey>(IQueryable<TSource>, Func<TSource,TKey>, CancellationToken) |
Creates a Dictionary<TKey,TValue> from an IQueryable<T> by enumerating it asynchronously according to a specified key selector function. |
ToDictionaryAsync<TSource,TKey>(IQueryable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>) |
Creates a Dictionary<TKey,TValue> from an IQueryable<T> by enumerating it asynchronously according to a specified key selector function and a comparer. |
ToDictionaryAsync<TSource,TKey>(IQueryable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>, CancellationToken) |
Creates a Dictionary<TKey,TValue> from an IQueryable<T> by enumerating it asynchronously according to a specified key selector function and a comparer. |
ToListAsync(IQueryable) |
Creates a List<T> from an IQueryable by enumerating it asynchronously. |
ToListAsync(IQueryable, CancellationToken) |
Creates a List<T> from an IQueryable by enumerating it asynchronously. |
ToListAsync<TSource>(IQueryable<TSource>) |
Creates a List<T> from an IQueryable<T> by enumerating it asynchronously. |
ToListAsync<TSource>(IQueryable<TSource>, CancellationToken) |
Creates a List<T> from an IQueryable<T> by enumerating it asynchronously. |
Applies to
Entity Framework