3 interfaces inheriting from IQueryable
System.Core (1)
System\Linq\IQueryable.cs (1)
38
public interface IOrderedQueryable<out T> :
IQueryable
<T>, IOrderedQueryable {
System.Data.Entity (1)
System\Data\Objects\IObjectSet.cs (1)
21
public interface IObjectSet<TEntity> :
IQueryable
<TEntity>
System.Data.Linq (1)
DataContext.cs (1)
969
public interface ITable<TEntity> :
IQueryable
<TEntity>
3 implementations of IQueryable
System.Data.Entity (1)
System\Data\Objects\ObjectQuery_TResultType.cs (1)
28
public partial class ObjectQuery<T> : ObjectQuery, IEnumerable<T>,
IQueryable
<T>, IOrderedQueryable<T>, IListSource
System.Data.Linq (1)
DataContext.cs (1)
1106
public sealed class Table<TEntity> :
IQueryable
<TEntity>, IQueryProvider, IEnumerable<TEntity>, IQueryable, IEnumerable, ITable, IListSource, ITable<TEntity>
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceQueryOfT.cs (1)
31
public class DataServiceQuery<TElement> : DataServiceQuery,
IQueryable
<TElement>
220 references to IQueryable
System.Core (165)
System\Linq\IQueryable.cs (162)
28
IQueryable
<TElement> CreateQuery<TElement>(Expression expression);
71
public static
IQueryable
<TElement> AsQueryable<TElement>(this IEnumerable<TElement> source) {
74
if (source is
IQueryable
<TElement>)
75
return (
IQueryable
<TElement>)source;
90
public static
IQueryable
<TSource> Where<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
103
public static
IQueryable
<TSource> Where<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, bool>> predicate) {
116
public static
IQueryable
<TResult> OfType<TResult>(this IQueryable source) {
127
public static
IQueryable
<TResult> Cast<TResult>(this IQueryable source) {
138
public static
IQueryable
<TResult> Select<TSource,TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TResult>> selector) {
151
public static
IQueryable
<TResult> Select<TSource,TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, TResult>> selector) {
164
public static
IQueryable
<TResult> SelectMany<TSource,TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, IEnumerable<TResult>>> selector) {
177
public static
IQueryable
<TResult> SelectMany<TSource,TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, IEnumerable<TResult>>> selector) {
190
public static
IQueryable
<TResult> SelectMany<TSource, TCollection, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, IEnumerable<TCollection>>> collectionSelector, Expression<Func<TSource, TCollection, TResult>> resultSelector){
205
public static
IQueryable
<TResult> SelectMany<TSource,TCollection,TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, IEnumerable<TCollection>>> collectionSelector, Expression<Func<TSource, TCollection, TResult>> resultSelector) {
221
IQueryable
<TSource> q = source as
IQueryable
<TSource>;
226
public static
IQueryable
<TResult> Join<TOuter,TInner,TKey,TResult>(this
IQueryable
<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter,TKey>> outerKeySelector, Expression<Func<TInner,TKey>> innerKeySelector, Expression<Func<TOuter,TInner,TResult>> resultSelector) {
251
public static
IQueryable
<TResult> Join<TOuter, TInner, TKey, TResult>(this
IQueryable
<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<TOuter, TInner, TResult>> resultSelector, IEqualityComparer<TKey> comparer) {
277
public static
IQueryable
<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this
IQueryable
<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<TOuter, IEnumerable<TInner>, TResult>> resultSelector) {
301
public static
IQueryable
<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this
IQueryable
<TOuter> outer, IEnumerable<TInner> inner, Expression<Func<TOuter, TKey>> outerKeySelector, Expression<Func<TInner, TKey>> innerKeySelector, Expression<Func<TOuter, IEnumerable<TInner>, TResult>> resultSelector, IEqualityComparer<TKey> comparer) {
326
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
340
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) {
353
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector) {
366
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey> comparer) {
431
public static
IQueryable
<TSource> Take<TSource>(this
IQueryable
<TSource> source, int count) {
442
public static
IQueryable
<TSource> TakeWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
455
public static
IQueryable
<TSource> TakeWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, bool>> predicate) {
468
public static
IQueryable
<TSource> Skip<TSource>(this
IQueryable
<TSource> source, int count) {
479
public static
IQueryable
<TSource> SkipWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
492
public static
IQueryable
<TSource> SkipWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, bool>> predicate) {
505
public static
IQueryable
<IGrouping<TKey,TSource>> GroupBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector) {
518
public static
IQueryable
<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector) {
533
public static
IQueryable
<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey> comparer) {
546
public static
IQueryable
<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource,TElement>> elementSelector, IEqualityComparer<TKey> comparer) {
561
public static
IQueryable
<TResult> GroupBy<TSource, TKey, TElement, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector, Expression<Func<TKey, IEnumerable<TElement>, TResult>> resultSelector)
579
public static
IQueryable
<TResult> GroupBy<TSource, TKey, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector,Expression<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector)
595
public static
IQueryable
<TResult> GroupBy<TSource, TKey, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector, IEqualityComparer<TKey> comparer)
611
public static
IQueryable
<TResult> GroupBy<TSource, TKey, TElement, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector, Expression<Func<TKey, IEnumerable<TElement>, TResult>> resultSelector, IEqualityComparer<TKey> comparer)
629
public static
IQueryable
<TSource> Distinct<TSource>(this
IQueryable
<TSource> source) {
640
public static
IQueryable
<TSource> Distinct<TSource>(this
IQueryable
<TSource> source, IEqualityComparer<TSource> comparer) {
651
public static
IQueryable
<TSource> Concat<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2) {
664
public static
IQueryable
<TResult> Zip<TFirst, TSecond, TResult>(this
IQueryable
<TFirst> source1, IEnumerable<TSecond> source2, Expression<Func<TFirst, TSecond, TResult>> resultSelector) {
679
public static
IQueryable
<TSource> Union<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2) {
692
public static
IQueryable
<TSource> Union<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource> comparer) {
709
public static
IQueryable
<TSource> Intersect<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2) {
722
public static
IQueryable
<TSource> Intersect<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource> comparer) {
739
public static
IQueryable
<TSource> Except<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2) {
752
public static
IQueryable
<TSource> Except<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource> comparer) {
769
public static TSource First<TSource>(this
IQueryable
<TSource> source) {
780
public static TSource First<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
793
public static TSource FirstOrDefault<TSource>(this
IQueryable
<TSource> source) {
804
public static TSource FirstOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
817
public static TSource Last<TSource>(this
IQueryable
<TSource> source) {
828
public static TSource Last<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
841
public static TSource LastOrDefault<TSource>(this
IQueryable
<TSource> source) {
852
public static TSource LastOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
865
public static TSource Single<TSource>(this
IQueryable
<TSource> source) {
876
public static TSource Single<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,bool>> predicate) {
889
public static TSource SingleOrDefault<TSource>(this
IQueryable
<TSource> source) {
900
public static TSource SingleOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,bool>> predicate) {
913
public static TSource ElementAt<TSource>(this
IQueryable
<TSource> source, int index) {
926
public static TSource ElementAtOrDefault<TSource>(this
IQueryable
<TSource> source, int index) {
937
public static
IQueryable
<TSource> DefaultIfEmpty<TSource>(this
IQueryable
<TSource> source) {
948
public static
IQueryable
<TSource> DefaultIfEmpty<TSource>(this
IQueryable
<TSource> source, TSource defaultValue) {
959
public static bool Contains<TSource>(this
IQueryable
<TSource> source, TSource item) {
970
public static bool Contains<TSource>(this
IQueryable
<TSource> source, TSource item, IEqualityComparer<TSource> comparer) {
981
public static
IQueryable
<TSource> Reverse<TSource>(this
IQueryable
<TSource> source) {
992
public static bool SequenceEqual<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2) {
1005
public static bool SequenceEqual<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource> comparer) {
1022
public static bool Any<TSource>(this
IQueryable
<TSource> source) {
1033
public static bool Any<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
1046
public static bool All<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
1059
public static int Count<TSource>(this
IQueryable
<TSource> source) {
1070
public static int Count<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
1083
public static long LongCount<TSource>(this
IQueryable
<TSource> source) {
1094
public static long LongCount<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate) {
1107
public static TSource Min<TSource>(this
IQueryable
<TSource> source) {
1118
public static TResult Min<TSource,TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource,TResult>> selector) {
1131
public static TSource Max<TSource>(this
IQueryable
<TSource> source) {
1142
public static TResult Max<TSource,TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource,TResult>> selector) {
1155
public static int Sum(this
IQueryable
<int> source) {
1166
public static int? Sum(this
IQueryable
<int?> source) {
1177
public static long Sum(this
IQueryable
<long> source) {
1188
public static long? Sum(this
IQueryable
<long?> source) {
1199
public static float Sum(this
IQueryable
<float> source) {
1210
public static float? Sum(this
IQueryable
<float?> source) {
1221
public static double Sum(this
IQueryable
<double> source) {
1232
public static double? Sum(this
IQueryable
<double?> source) {
1243
public static decimal Sum(this
IQueryable
<decimal> source) {
1254
public static decimal? Sum(this
IQueryable
<decimal?> source) {
1265
public static int Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,int>> selector) {
1278
public static int? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,int?>> selector) {
1291
public static long Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,long>> selector) {
1304
public static long? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,long?>> selector) {
1317
public static float Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,float>> selector) {
1330
public static float? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,float?>> selector) {
1343
public static double Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,double>> selector) {
1356
public static double? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,double?>> selector) {
1369
public static decimal Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,decimal>> selector) {
1382
public static decimal? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,decimal?>> selector) {
1395
public static double Average(this
IQueryable
<int> source) {
1406
public static double? Average(this
IQueryable
<int?> source) {
1417
public static double Average(this
IQueryable
<long> source) {
1428
public static double? Average(this
IQueryable
<long?> source) {
1439
public static float Average(this
IQueryable
<float> source)
1451
public static float? Average(this
IQueryable
<float?> source)
1463
public static double Average(this
IQueryable
<double> source) {
1474
public static double? Average(this
IQueryable
<double?> source) {
1485
public static decimal Average(this
IQueryable
<decimal> source) {
1496
public static decimal? Average(this
IQueryable
<decimal?> source) {
1507
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,int>> selector) {
1520
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,int?>> selector) {
1533
public static float Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float>> selector)
1547
public static float? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float?>> selector)
1561
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,long>> selector) {
1574
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,long?>> selector) {
1587
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,double>> selector) {
1600
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,double?>> selector) {
1613
public static decimal Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,decimal>> selector) {
1626
public static decimal? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,decimal?>> selector) {
1639
public static TSource Aggregate<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource,TSource,TSource>> func) {
1652
public static TAccumulate Aggregate<TSource,TAccumulate>(this
IQueryable
<TSource> source, TAccumulate seed, Expression<Func<TAccumulate,TSource,TAccumulate>> func) {
1665
public static TResult Aggregate<TSource,TAccumulate,TResult>(this
IQueryable
<TSource> source, TAccumulate seed, Expression<Func<TAccumulate,TSource,TAccumulate>> func, Expression<Func<TAccumulate,TResult>> selector) {
System\Linq\SequenceQuery.cs (3)
80
Type iqType = TypeHelper.FindGenericType(typeof(
IQueryable
<>), expression.Type);
86
IQueryable
<S> IQueryProvider.CreateQuery<S>(Expression expression){
89
if (!typeof(
IQueryable
<S>).IsAssignableFrom(expression.Type)){
System.Data.Entity (5)
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
530
(toClrType.GetGenericTypeDefinition() == typeof(
IQueryable
<>) || toClrType.GetGenericTypeDefinition() == typeof(IOrderedQueryable<>)) &&
System\Data\Objects\ELinq\MethodCallTranslator.cs (2)
349
if (argumentType.IsGenericType && (typeof(
IQueryable
<>) == argumentType.GetGenericTypeDefinition() || typeof(IOrderedQueryable<>) == argumentType.GetGenericTypeDefinition()))
741
if ((genericType != typeof(IEnumerable<>)) && (genericType != typeof(
IQueryable
<>)))
System\Data\Objects\ELinq\ObjectQueryProvider.cs (2)
63
IQueryable
<S> IQueryProvider.CreateQuery<S>(Expression expression)
66
if (!typeof(
IQueryable
<S>).IsAssignableFrom(expression.Type))
System.Data.Linq (13)
DataContext.cs (6)
790
internal protected
IQueryable
<TResult> CreateMethodCallQuery<TResult>(object instance, MethodInfo methodInfo, params object[] parameters) {
801
if (!typeof(
IQueryable
<TResult>).IsAssignableFrom(methodInfo.ReturnType)) {
802
throw Error.ExpectedQueryableArgument("methodInfo", typeof(
IQueryable
<TResult>));
1151
Type qType = typeof(
IQueryable
<>).MakeGenericType(eType);
1160
IQueryable
<TResult> IQueryProvider.CreateQuery<TResult>(Expression expression) {
1164
if (!typeof(
IQueryable
<TResult>).IsAssignableFrom(expression.Type)) {
DataQuery.cs (3)
38
Type qType = typeof(
IQueryable
<>).MakeGenericType(eType);
45
IQueryable
<S> IQueryProvider.CreateQuery<S>(Expression expression) {
48
if (!typeof(
IQueryable
<S>).IsAssignableFrom(expression.Type))
DbConvert.cs (1)
180
else if (toType.IsGenericType && toType.GetGenericTypeDefinition() == typeof(
IQueryable
<>)
Mapping\AttributedMetaModel.cs (1)
891
mi.ReturnType.GetGenericTypeDefinition() == typeof(
IQueryable
<>))) {
SqlClient\Query\Translator.cs (1)
249
Expression source = new LinkedTableExpression(link, table, typeof(
IQueryable
<>).MakeGenericType(otherType.Type));
SqlClient\Reader\ObjectReaderCompiler.cs (1)
1675
else if ((genExpectedType == typeof(
IQueryable
<>) ||
System.Data.Services (16)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
686
return m.IsGenericType && m.GetGenericTypeDefinition() == typeof(
IQueryable
<>);
System\Data\Services\Providers\BasicExpandProvider.cs (4)
338
.Invoke(null, new object[] { (
IQueryable
<TSource>)query, (Expression<Func<TSource, TKey>>)orderExpression });
352
return (IQueryable)skipOrTakeMethod.Invoke(null, new object[] { (
IQueryable
<TSource>)query, count });
362
private
IQueryable
<TWrapper> source;
366
public ExpandedQueryable(
IQueryable
<TWrapper> source)
System\Data\Services\RequestQueryProcessor.cs (5)
285
IQueryable
<T> typedSource = (
IQueryable
<T>)source;
297
IQueryable
<T> typedSource = (
IQueryable
<T>)source;
305
private static long CountQueryResult<TElement>(
IQueryable
<TElement> query)
System\Data\Services\RequestUriProcessor.cs (6)
995
IQueryable
<TSource> typedSource = (
IQueryable
<TSource>)source;
1011
IQueryable
<TSource> typedSource = (
IQueryable
<TSource>)source;
1026
IQueryable
<TSource> typedQueryable = (
IQueryable
<TSource>)query;
System.Data.Services.Client (2)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (2)
66
public
IQueryable
<TElement> CreateQuery<TElement>(Expression expression)
103
IQueryable
<TElement> query = new DataServiceQuery<TElement>.DataServiceOrderedQuery(expression, this);
System.ServiceModel (1)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
77
static Type typeOfIQueryableGeneric = typeof(
IQueryable
<>);
System.Web (9)
UI\WebControls\ModelDataSourceView.cs (2)
390
if (typeof(
IQueryable
<>).MakeGenericType(typeParameter).IsAssignableFrom(selectMethodReturnType)) {
395
Type queryableModelType = (modelType != null) ? typeof(
IQueryable
<>).MakeGenericType(modelType) : null;
UI\WebControls\QueryableHelpers.cs (4)
11
public static
IQueryable
<T> SortandPageHelper<T>(
IQueryable
<T> queryable, int? startRowIndex, int? maxRowIndex, string sortExpression) where T : class {
27
public static int CountHelper<T>(
IQueryable
<T> queryable) where T : class {
34
public static bool IsOrderingMethodFound<T>(
IQueryable
<T> queryable) where T : class {
UI\WebControls\QueryExtensions.cs (3)
9
public static
IQueryable
<T> SortBy<T>(this
IQueryable
<T> source, string sortExpression) where T : class {
54
return (
IQueryable
<T>)source.Provider.CreateQuery(methodCallExpression);
System.Web.Entity (3)
System\Data\WebControls\OrderByBuilder.cs (3)
209
internal
IQueryable
<TEntity> BuildQueryableOrderBy<TEntity>(
IQueryable
<TEntity> source)
223
return query as
IQueryable
<TEntity>;
System.Web.Extensions (6)
UI\WebControls\Dynamic.cs (6)
25
public static
IQueryable
<T> Where<T>(this
IQueryable
<T> source, string predicate, params object[] values) {
26
return (
IQueryable
<T>)Where((IQueryable)source, predicate, values);
51
public static
IQueryable
<T> OrderBy<T>(this
IQueryable
<T> source, string ordering, params object[] values) {
52
return (
IQueryable
<T>)OrderBy((IQueryable)source, ordering, values);