9 [global::__DynamicallyInvokable]
12 private static MethodInfo GetMethodInfo<T1, T2>(Func<T1, T2> f, T1 unused1)
17 private static MethodInfo GetMethodInfo<T1, T2, T3>(Func<T1, T2, T3> f, T1 unused1, T2 unused2)
22 private static MethodInfo GetMethodInfo<T1, T2, T3, T4>(Func<T1, T2, T3, T4> f, T1 unused1, T2 unused2, T3 unused3)
27 private static MethodInfo GetMethodInfo<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5> f, T1 unused1, T2 unused2, T3 unused3, T4 unused4)
32 private static MethodInfo GetMethodInfo<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6> f, T1 unused1, T2 unused2, T3 unused3, T4 unused4, T5 unused5)
37 private static MethodInfo GetMethodInfo<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7> f, T1 unused1, T2 unused2, T3 unused3, T4 unused4, T5 unused5, T6 unused6)
48 [global::__DynamicallyInvokable]
53 throw Error.ArgumentNull(
"source");
69 [global::__DynamicallyInvokable]
74 throw Error.ArgumentNull(
"source");
83 throw Error.ArgumentNotIEnumerableGeneric(
"source");
95 [global::__DynamicallyInvokable]
100 throw Error.ArgumentNull(
"source");
102 if (predicate ==
null)
104 throw Error.ArgumentNull(
"predicate");
106 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Where, source, predicate),
new Expression[2]
120 [global::__DynamicallyInvokable]
125 throw Error.ArgumentNull(
"source");
127 if (predicate ==
null)
129 throw Error.ArgumentNull(
"predicate");
131 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Where, source, predicate),
new Expression[2]
144 [global::__DynamicallyInvokable]
149 throw Error.ArgumentNull(
"source");
151 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(
Queryable.OfType<TResult>, source), source.Expression));
161 [global::__DynamicallyInvokable]
166 throw Error.ArgumentNull(
"source");
168 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(
Queryable.Cast<TResult>, source), source.Expression));
179 [global::__DynamicallyInvokable]
184 throw Error.ArgumentNull(
"source");
186 if (selector ==
null)
188 throw Error.ArgumentNull(
"selector");
205 [global::__DynamicallyInvokable]
210 throw Error.ArgumentNull(
"source");
212 if (selector ==
null)
214 throw Error.ArgumentNull(
"selector");
231 [global::__DynamicallyInvokable]
236 throw Error.ArgumentNull(
"source");
238 if (selector ==
null)
240 throw Error.ArgumentNull(
"selector");
242 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(SelectMany, source, selector),
new Expression[2]
257 [global::__DynamicallyInvokable]
262 throw Error.ArgumentNull(
"source");
264 if (selector ==
null)
266 throw Error.ArgumentNull(
"selector");
268 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(SelectMany, source, selector),
new Expression[2]
285 [global::__DynamicallyInvokable]
290 throw Error.ArgumentNull(
"source");
292 if (collectionSelector ==
null)
294 throw Error.ArgumentNull(
"collectionSelector");
296 if (resultSelector ==
null)
298 throw Error.ArgumentNull(
"resultSelector");
300 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(SelectMany, source, collectionSelector, resultSelector),
new Expression[3]
318 [global::__DynamicallyInvokable]
323 throw Error.ArgumentNull(
"source");
325 if (collectionSelector ==
null)
327 throw Error.ArgumentNull(
"collectionSelector");
329 if (resultSelector ==
null)
331 throw Error.ArgumentNull(
"resultSelector");
333 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(SelectMany, source, collectionSelector, resultSelector),
new Expression[3]
344 if (queryable !=
null)
346 return queryable.Expression;
364 [global::__DynamicallyInvokable]
365 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)
369 throw Error.ArgumentNull(
"outer");
373 throw Error.ArgumentNull(
"inner");
375 if (outerKeySelector ==
null)
377 throw Error.ArgumentNull(
"outerKeySelector");
379 if (innerKeySelector ==
null)
381 throw Error.ArgumentNull(
"innerKeySelector");
383 if (resultSelector ==
null)
385 throw Error.ArgumentNull(
"resultSelector");
387 return outer.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(Join, outer, inner, outerKeySelector, innerKeySelector, resultSelector), outer.Expression, GetSourceExpression(inner),
Expression.Quote(outerKeySelector),
Expression.Quote(innerKeySelector),
Expression.Quote(resultSelector)));
404 [global::__DynamicallyInvokable]
405 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)
409 throw Error.ArgumentNull(
"outer");
413 throw Error.ArgumentNull(
"inner");
415 if (outerKeySelector ==
null)
417 throw Error.ArgumentNull(
"outerKeySelector");
419 if (innerKeySelector ==
null)
421 throw Error.ArgumentNull(
"innerKeySelector");
423 if (resultSelector ==
null)
425 throw Error.ArgumentNull(
"resultSelector");
427 return outer.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(Join, outer, inner, outerKeySelector, innerKeySelector, resultSelector, comparer), outer.Expression, GetSourceExpression(inner),
Expression.Quote(outerKeySelector),
Expression.Quote(innerKeySelector),
Expression.Quote(resultSelector),
Expression.Constant(comparer, typeof(
IEqualityComparer<TKey>))));
443 [global::__DynamicallyInvokable]
444 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)
448 throw Error.ArgumentNull(
"outer");
452 throw Error.ArgumentNull(
"inner");
454 if (outerKeySelector ==
null)
456 throw Error.ArgumentNull(
"outerKeySelector");
458 if (innerKeySelector ==
null)
460 throw Error.ArgumentNull(
"innerKeySelector");
462 if (resultSelector ==
null)
464 throw Error.ArgumentNull(
"resultSelector");
466 return outer.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(GroupJoin, outer, inner, outerKeySelector, innerKeySelector, resultSelector), outer.Expression, GetSourceExpression(inner),
Expression.Quote(outerKeySelector),
Expression.Quote(innerKeySelector),
Expression.Quote(resultSelector)));
483 [global::__DynamicallyInvokable]
484 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)
488 throw Error.ArgumentNull(
"outer");
492 throw Error.ArgumentNull(
"inner");
494 if (outerKeySelector ==
null)
496 throw Error.ArgumentNull(
"outerKeySelector");
498 if (innerKeySelector ==
null)
500 throw Error.ArgumentNull(
"innerKeySelector");
502 if (resultSelector ==
null)
504 throw Error.ArgumentNull(
"resultSelector");
506 return outer.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(GroupJoin, outer, inner, outerKeySelector, innerKeySelector, resultSelector, comparer), outer.Expression, GetSourceExpression(inner),
Expression.Quote(outerKeySelector),
Expression.Quote(innerKeySelector),
Expression.Quote(resultSelector),
Expression.Constant(comparer, typeof(
IEqualityComparer<TKey>))));
517 [global::__DynamicallyInvokable]
522 throw Error.ArgumentNull(
"source");
524 if (keySelector ==
null)
526 throw Error.ArgumentNull(
"keySelector");
544 [global::__DynamicallyInvokable]
549 throw Error.ArgumentNull(
"source");
551 if (keySelector ==
null)
553 throw Error.ArgumentNull(
"keySelector");
571 [global::__DynamicallyInvokable]
576 throw Error.ArgumentNull(
"source");
578 if (keySelector ==
null)
580 throw Error.ArgumentNull(
"keySelector");
598 [global::__DynamicallyInvokable]
603 throw Error.ArgumentNull(
"source");
605 if (keySelector ==
null)
607 throw Error.ArgumentNull(
"keySelector");
625 [global::__DynamicallyInvokable]
630 throw Error.ArgumentNull(
"source");
632 if (keySelector ==
null)
634 throw Error.ArgumentNull(
"keySelector");
652 [global::__DynamicallyInvokable]
657 throw Error.ArgumentNull(
"source");
659 if (keySelector ==
null)
661 throw Error.ArgumentNull(
"keySelector");
679 [global::__DynamicallyInvokable]
684 throw Error.ArgumentNull(
"source");
686 if (keySelector ==
null)
688 throw Error.ArgumentNull(
"keySelector");
706 [global::__DynamicallyInvokable]
711 throw Error.ArgumentNull(
"source");
713 if (keySelector ==
null)
715 throw Error.ArgumentNull(
"keySelector");
732 [global::__DynamicallyInvokable]
737 throw Error.ArgumentNull(
"source");
739 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Take, source, count),
new Expression[2]
753 [global::__DynamicallyInvokable]
758 throw Error.ArgumentNull(
"source");
760 if (predicate ==
null)
762 throw Error.ArgumentNull(
"predicate");
764 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(TakeWhile, source, predicate),
new Expression[2]
778 [global::__DynamicallyInvokable]
783 throw Error.ArgumentNull(
"source");
785 if (predicate ==
null)
787 throw Error.ArgumentNull(
"predicate");
789 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(TakeWhile, source, predicate),
new Expression[2]
803 [global::__DynamicallyInvokable]
808 throw Error.ArgumentNull(
"source");
810 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Skip, source, count),
new Expression[2]
824 [global::__DynamicallyInvokable]
829 throw Error.ArgumentNull(
"source");
831 if (predicate ==
null)
833 throw Error.ArgumentNull(
"predicate");
835 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(SkipWhile, source, predicate),
new Expression[2]
849 [global::__DynamicallyInvokable]
854 throw Error.ArgumentNull(
"source");
856 if (predicate ==
null)
858 throw Error.ArgumentNull(
"predicate");
860 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(SkipWhile, source, predicate),
new Expression[2]
875 [global::__DynamicallyInvokable]
880 throw Error.ArgumentNull(
"source");
882 if (keySelector ==
null)
884 throw Error.ArgumentNull(
"keySelector");
903 [global::__DynamicallyInvokable]
908 throw Error.ArgumentNull(
"source");
910 if (keySelector ==
null)
912 throw Error.ArgumentNull(
"keySelector");
914 if (elementSelector ==
null)
916 throw Error.ArgumentNull(
"elementSelector");
935 [global::__DynamicallyInvokable]
940 throw Error.ArgumentNull(
"source");
942 if (keySelector ==
null)
944 throw Error.ArgumentNull(
"keySelector");
965 [global::__DynamicallyInvokable]
970 throw Error.ArgumentNull(
"source");
972 if (keySelector ==
null)
974 throw Error.ArgumentNull(
"keySelector");
976 if (elementSelector ==
null)
978 throw Error.ArgumentNull(
"elementSelector");
980 return source.Provider.CreateQuery<
IGrouping<TKey, TElement>>(
Expression.Call(
null, GetMethodInfo(GroupBy, source, keySelector, elementSelector, comparer), source.Expression,
Expression.Quote(keySelector),
Expression.Quote(elementSelector),
Expression.Constant(comparer, typeof(
IEqualityComparer<TKey>))));
995 [global::__DynamicallyInvokable]
996 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)
1000 throw Error.ArgumentNull(
"source");
1002 if (keySelector ==
null)
1004 throw Error.ArgumentNull(
"keySelector");
1006 if (elementSelector ==
null)
1008 throw Error.ArgumentNull(
"elementSelector");
1010 if (resultSelector ==
null)
1012 throw Error.ArgumentNull(
"resultSelector");
1014 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(GroupBy, source, keySelector, elementSelector, resultSelector), source.Expression,
Expression.Quote(keySelector),
Expression.Quote(elementSelector),
Expression.Quote(resultSelector)));
1027 [global::__DynamicallyInvokable]
1032 throw Error.ArgumentNull(
"source");
1034 if (keySelector ==
null)
1036 throw Error.ArgumentNull(
"keySelector");
1038 if (resultSelector ==
null)
1040 throw Error.ArgumentNull(
"resultSelector");
1042 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(GroupBy, source, keySelector, resultSelector),
new Expression[3]
1061 [global::__DynamicallyInvokable]
1066 throw Error.ArgumentNull(
"source");
1068 if (keySelector ==
null)
1070 throw Error.ArgumentNull(
"keySelector");
1072 if (resultSelector ==
null)
1074 throw Error.ArgumentNull(
"resultSelector");
1076 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(GroupBy, source, keySelector, resultSelector, comparer), source.Expression,
Expression.Quote(keySelector),
Expression.Quote(resultSelector),
Expression.Constant(comparer, typeof(
IEqualityComparer<TKey>))));
1092 [global::__DynamicallyInvokable]
1093 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)
1097 throw Error.ArgumentNull(
"source");
1099 if (keySelector ==
null)
1101 throw Error.ArgumentNull(
"keySelector");
1103 if (elementSelector ==
null)
1105 throw Error.ArgumentNull(
"elementSelector");
1107 if (resultSelector ==
null)
1109 throw Error.ArgumentNull(
"resultSelector");
1111 return source.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(GroupBy, source, keySelector, elementSelector, resultSelector, comparer), source.Expression,
Expression.Quote(keySelector),
Expression.Quote(elementSelector),
Expression.Quote(resultSelector),
Expression.Constant(comparer, typeof(
IEqualityComparer<TKey>))));
1120 [global::__DynamicallyInvokable]
1125 throw Error.ArgumentNull(
"source");
1127 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Distinct, source), source.Expression));
1137 [global::__DynamicallyInvokable]
1142 throw Error.ArgumentNull(
"source");
1144 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Distinct, source, comparer),
new Expression[2]
1158 [global::__DynamicallyInvokable]
1161 if (source1 ==
null)
1163 throw Error.ArgumentNull(
"source1");
1165 if (source2 ==
null)
1167 throw Error.ArgumentNull(
"source2");
1169 return source1.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Concat, source1, source2),
new Expression[2]
1172 GetSourceExpression(source2)
1186 [global::__DynamicallyInvokable]
1189 if (source1 ==
null)
1191 throw Error.ArgumentNull(
"source1");
1193 if (source2 ==
null)
1195 throw Error.ArgumentNull(
"source2");
1197 if (resultSelector ==
null)
1199 throw Error.ArgumentNull(
"resultSelector");
1201 return source1.Provider.CreateQuery<TResult>(
Expression.Call(
null, GetMethodInfo(Zip, source1, source2, resultSelector),
new Expression[3]
1204 GetSourceExpression(source2),
1216 [global::__DynamicallyInvokable]
1219 if (source1 ==
null)
1221 throw Error.ArgumentNull(
"source1");
1223 if (source2 ==
null)
1225 throw Error.ArgumentNull(
"source2");
1227 return source1.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Union, source1, source2),
new Expression[2]
1230 GetSourceExpression(source2)
1242 [global::__DynamicallyInvokable]
1245 if (source1 ==
null)
1247 throw Error.ArgumentNull(
"source1");
1249 if (source2 ==
null)
1251 throw Error.ArgumentNull(
"source2");
1253 return source1.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Union, source1, source2, comparer),
new Expression[3]
1256 GetSourceExpression(source2),
1268 [global::__DynamicallyInvokable]
1271 if (source1 ==
null)
1273 throw Error.ArgumentNull(
"source1");
1275 if (source2 ==
null)
1277 throw Error.ArgumentNull(
"source2");
1279 return source1.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Intersect, source1, source2),
new Expression[2]
1282 GetSourceExpression(source2)
1294 [global::__DynamicallyInvokable]
1297 if (source1 ==
null)
1299 throw Error.ArgumentNull(
"source1");
1301 if (source2 ==
null)
1303 throw Error.ArgumentNull(
"source2");
1305 return source1.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Intersect, source1, source2, comparer),
new Expression[3]
1308 GetSourceExpression(source2),
1320 [global::__DynamicallyInvokable]
1323 if (source1 ==
null)
1325 throw Error.ArgumentNull(
"source1");
1327 if (source2 ==
null)
1329 throw Error.ArgumentNull(
"source2");
1331 return source1.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Except, source1, source2),
new Expression[2]
1334 GetSourceExpression(source2)
1346 [global::__DynamicallyInvokable]
1349 if (source1 ==
null)
1351 throw Error.ArgumentNull(
"source1");
1353 if (source2 ==
null)
1355 throw Error.ArgumentNull(
"source2");
1357 return source1.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Except, source1, source2, comparer),
new Expression[3]
1360 GetSourceExpression(source2),
1372 [global::__DynamicallyInvokable]
1377 throw Error.ArgumentNull(
"source");
1379 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(First, source), source.Expression));
1390 [global::__DynamicallyInvokable]
1395 throw Error.ArgumentNull(
"source");
1397 if (predicate ==
null)
1399 throw Error.ArgumentNull(
"predicate");
1401 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(First, source, predicate),
new Expression[2]
1415 [global::__DynamicallyInvokable]
1420 throw Error.ArgumentNull(
"source");
1422 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(FirstOrDefault, source), source.Expression));
1433 [global::__DynamicallyInvokable]
1438 throw Error.ArgumentNull(
"source");
1440 if (predicate ==
null)
1442 throw Error.ArgumentNull(
"predicate");
1444 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(FirstOrDefault, source, predicate),
new Expression[2]
1458 [global::__DynamicallyInvokable]
1463 throw Error.ArgumentNull(
"source");
1465 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(Last, source), source.Expression));
1476 [global::__DynamicallyInvokable]
1481 throw Error.ArgumentNull(
"source");
1483 if (predicate ==
null)
1485 throw Error.ArgumentNull(
"predicate");
1487 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(Last, source, predicate),
new Expression[2]
1501 [global::__DynamicallyInvokable]
1506 throw Error.ArgumentNull(
"source");
1508 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(LastOrDefault, source), source.Expression));
1519 [global::__DynamicallyInvokable]
1524 throw Error.ArgumentNull(
"source");
1526 if (predicate ==
null)
1528 throw Error.ArgumentNull(
"predicate");
1530 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(LastOrDefault, source, predicate),
new Expression[2]
1545 [global::__DynamicallyInvokable]
1550 throw Error.ArgumentNull(
"source");
1552 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(
Single, source), source.Expression));
1563 [global::__DynamicallyInvokable]
1568 throw Error.ArgumentNull(
"source");
1570 if (predicate ==
null)
1572 throw Error.ArgumentNull(
"predicate");
1589 [global::__DynamicallyInvokable]
1594 throw Error.ArgumentNull(
"source");
1596 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(SingleOrDefault, source), source.Expression));
1607 [global::__DynamicallyInvokable]
1612 throw Error.ArgumentNull(
"source");
1614 if (predicate ==
null)
1616 throw Error.ArgumentNull(
"predicate");
1618 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(SingleOrDefault, source, predicate),
new Expression[2]
1634 [global::__DynamicallyInvokable]
1639 throw Error.ArgumentNull(
"source");
1643 throw Error.ArgumentOutOfRange(
"index");
1645 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(ElementAt, source, index),
new Expression[2]
1660 [global::__DynamicallyInvokable]
1665 throw Error.ArgumentNull(
"source");
1667 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(ElementAtOrDefault, source, index),
new Expression[2]
1680 [global::__DynamicallyInvokable]
1685 throw Error.ArgumentNull(
"source");
1687 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(DefaultIfEmpty, source), source.Expression));
1697 [global::__DynamicallyInvokable]
1702 throw Error.ArgumentNull(
"source");
1704 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(DefaultIfEmpty, source, defaultValue),
new Expression[2]
1707 Expression.Constant(defaultValue, typeof(TSource))
1719 [global::__DynamicallyInvokable]
1724 throw Error.ArgumentNull(
"source");
1726 return source.Provider.Execute<
bool>(
Expression.Call(
null, GetMethodInfo(Contains, source, item),
new Expression[2]
1742 [global::__DynamicallyInvokable]
1747 throw Error.ArgumentNull(
"source");
1749 return source.Provider.Execute<
bool>(
Expression.Call(
null, GetMethodInfo(Contains, source, item, comparer),
new Expression[3]
1763 [global::__DynamicallyInvokable]
1768 throw Error.ArgumentNull(
"source");
1770 return source.Provider.CreateQuery<TSource>(
Expression.Call(
null, GetMethodInfo(Reverse, source), source.Expression));
1781 [global::__DynamicallyInvokable]
1784 if (source1 ==
null)
1786 throw Error.ArgumentNull(
"source1");
1788 if (source2 ==
null)
1790 throw Error.ArgumentNull(
"source2");
1792 return source1.Provider.Execute<
bool>(
Expression.Call(
null, GetMethodInfo(SequenceEqual, source1, source2),
new Expression[2]
1795 GetSourceExpression(source2)
1808 [global::__DynamicallyInvokable]
1811 if (source1 ==
null)
1813 throw Error.ArgumentNull(
"source1");
1815 if (source2 ==
null)
1817 throw Error.ArgumentNull(
"source2");
1819 return source1.Provider.Execute<
bool>(
Expression.Call(
null, GetMethodInfo(SequenceEqual, source1, source2, comparer),
new Expression[3]
1822 GetSourceExpression(source2),
1834 [global::__DynamicallyInvokable]
1839 throw Error.ArgumentNull(
"source");
1841 return source.Provider.Execute<
bool>(
Expression.Call(
null, GetMethodInfo(Any, source), source.Expression));
1852 [global::__DynamicallyInvokable]
1857 throw Error.ArgumentNull(
"source");
1859 if (predicate ==
null)
1861 throw Error.ArgumentNull(
"predicate");
1863 return source.Provider.Execute<
bool>(
Expression.Call(
null, GetMethodInfo(Any, source, predicate),
new Expression[2]
1878 [global::__DynamicallyInvokable]
1883 throw Error.ArgumentNull(
"source");
1885 if (predicate ==
null)
1887 throw Error.ArgumentNull(
"predicate");
1889 return source.Provider.Execute<
bool>(
Expression.Call(
null, GetMethodInfo(
All, source, predicate),
new Expression[2]
1903 [global::__DynamicallyInvokable]
1908 throw Error.ArgumentNull(
"source");
1910 return source.Provider.Execute<
int>(
Expression.Call(
null, GetMethodInfo(Count, source), source.Expression));
1921 [global::__DynamicallyInvokable]
1926 throw Error.ArgumentNull(
"source");
1928 if (predicate ==
null)
1930 throw Error.ArgumentNull(
"predicate");
1932 return source.Provider.Execute<
int>(
Expression.Call(
null, GetMethodInfo(Count, source, predicate),
new Expression[2]
1946 [global::__DynamicallyInvokable]
1951 throw Error.ArgumentNull(
"source");
1953 return source.Provider.Execute<
long>(
Expression.Call(
null, GetMethodInfo(LongCount, source), source.Expression));
1964 [global::__DynamicallyInvokable]
1969 throw Error.ArgumentNull(
"source");
1971 if (predicate ==
null)
1973 throw Error.ArgumentNull(
"predicate");
1975 return source.Provider.Execute<
long>(
Expression.Call(
null, GetMethodInfo(LongCount, source, predicate),
new Expression[2]
1988 [global::__DynamicallyInvokable]
1993 throw Error.ArgumentNull(
"source");
1995 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(Min, source), source.Expression));
2006 [global::__DynamicallyInvokable]
2011 throw Error.ArgumentNull(
"source");
2013 if (selector ==
null)
2015 throw Error.ArgumentNull(
"selector");
2017 return source.Provider.Execute<TResult>(
Expression.Call(
null, GetMethodInfo(Min, source, selector),
new Expression[2]
2030 [global::__DynamicallyInvokable]
2035 throw Error.ArgumentNull(
"source");
2037 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(Max, source), source.Expression));
2048 [global::__DynamicallyInvokable]
2053 throw Error.ArgumentNull(
"source");
2055 if (selector ==
null)
2057 throw Error.ArgumentNull(
"selector");
2059 return source.Provider.Execute<TResult>(
Expression.Call(
null, GetMethodInfo(Max, source, selector),
new Expression[2]
2072 [global::__DynamicallyInvokable]
2077 throw Error.ArgumentNull(
"source");
2079 return source.Provider.Execute<
int>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2088 [global::__DynamicallyInvokable]
2093 throw Error.ArgumentNull(
"source");
2095 return source.Provider.Execute<
int?>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2104 [global::__DynamicallyInvokable]
2109 throw Error.ArgumentNull(
"source");
2111 return source.Provider.Execute<
long>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2120 [global::__DynamicallyInvokable]
2125 throw Error.ArgumentNull(
"source");
2127 return source.Provider.Execute<
long?>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2135 [global::__DynamicallyInvokable]
2140 throw Error.ArgumentNull(
"source");
2142 return source.Provider.Execute<
float>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2150 [global::__DynamicallyInvokable]
2155 throw Error.ArgumentNull(
"source");
2157 return source.Provider.Execute<
float?>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2165 [global::__DynamicallyInvokable]
2170 throw Error.ArgumentNull(
"source");
2172 return source.Provider.Execute<
double>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2180 [global::__DynamicallyInvokable]
2185 throw Error.ArgumentNull(
"source");
2187 return source.Provider.Execute<
double?>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2196 [global::__DynamicallyInvokable]
2201 throw Error.ArgumentNull(
"source");
2203 return source.Provider.Execute<decimal>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2212 [global::__DynamicallyInvokable]
2217 throw Error.ArgumentNull(
"source");
2219 return source.Provider.Execute<decimal?>(
Expression.Call(
null, GetMethodInfo(
Sum, source), source.Expression));
2230 [global::__DynamicallyInvokable]
2235 throw Error.ArgumentNull(
"source");
2237 if (selector ==
null)
2239 throw Error.ArgumentNull(
"selector");
2241 return source.Provider.Execute<
int>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2256 [global::__DynamicallyInvokable]
2261 throw Error.ArgumentNull(
"source");
2263 if (selector ==
null)
2265 throw Error.ArgumentNull(
"selector");
2267 return source.Provider.Execute<
int?>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2282 [global::__DynamicallyInvokable]
2287 throw Error.ArgumentNull(
"source");
2289 if (selector ==
null)
2291 throw Error.ArgumentNull(
"selector");
2293 return source.Provider.Execute<
long>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2308 [global::__DynamicallyInvokable]
2313 throw Error.ArgumentNull(
"source");
2315 if (selector ==
null)
2317 throw Error.ArgumentNull(
"selector");
2319 return source.Provider.Execute<
long?>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2333 [global::__DynamicallyInvokable]
2338 throw Error.ArgumentNull(
"source");
2340 if (selector ==
null)
2342 throw Error.ArgumentNull(
"selector");
2344 return source.Provider.Execute<
float>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2358 [global::__DynamicallyInvokable]
2363 throw Error.ArgumentNull(
"source");
2365 if (selector ==
null)
2367 throw Error.ArgumentNull(
"selector");
2369 return source.Provider.Execute<
float?>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2383 [global::__DynamicallyInvokable]
2388 throw Error.ArgumentNull(
"source");
2390 if (selector ==
null)
2392 throw Error.ArgumentNull(
"selector");
2394 return source.Provider.Execute<
double>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2408 [global::__DynamicallyInvokable]
2413 throw Error.ArgumentNull(
"source");
2415 if (selector ==
null)
2417 throw Error.ArgumentNull(
"selector");
2419 return source.Provider.Execute<
double?>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2434 [global::__DynamicallyInvokable]
2439 throw Error.ArgumentNull(
"source");
2441 if (selector ==
null)
2443 throw Error.ArgumentNull(
"selector");
2445 return source.Provider.Execute<decimal>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2460 [global::__DynamicallyInvokable]
2465 throw Error.ArgumentNull(
"source");
2467 if (selector ==
null)
2469 throw Error.ArgumentNull(
"selector");
2471 return source.Provider.Execute<decimal?>(
Expression.Call(
null, GetMethodInfo(
Sum, source, selector),
new Expression[2]
2485 [global::__DynamicallyInvokable]
2490 throw Error.ArgumentNull(
"source");
2492 return source.Provider.Execute<
double>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2500 [global::__DynamicallyInvokable]
2505 throw Error.ArgumentNull(
"source");
2507 return source.Provider.Execute<
double?>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2517 [global::__DynamicallyInvokable]
2522 throw Error.ArgumentNull(
"source");
2524 return source.Provider.Execute<
double>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2532 [global::__DynamicallyInvokable]
2537 throw Error.ArgumentNull(
"source");
2539 return source.Provider.Execute<
double?>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2549 [global::__DynamicallyInvokable]
2554 throw Error.ArgumentNull(
"source");
2556 return source.Provider.Execute<
float>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2564 [global::__DynamicallyInvokable]
2569 throw Error.ArgumentNull(
"source");
2571 return source.Provider.Execute<
float?>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2581 [global::__DynamicallyInvokable]
2586 throw Error.ArgumentNull(
"source");
2588 return source.Provider.Execute<
double>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2596 [global::__DynamicallyInvokable]
2601 throw Error.ArgumentNull(
"source");
2603 return source.Provider.Execute<
double?>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2613 [global::__DynamicallyInvokable]
2618 throw Error.ArgumentNull(
"source");
2620 return source.Provider.Execute<decimal>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2628 [global::__DynamicallyInvokable]
2633 throw Error.ArgumentNull(
"source");
2635 return source.Provider.Execute<decimal?>(
Expression.Call(
null, GetMethodInfo(
Average, source), source.Expression));
2647 [global::__DynamicallyInvokable]
2652 throw Error.ArgumentNull(
"source");
2654 if (selector ==
null)
2656 throw Error.ArgumentNull(
"selector");
2672 [global::__DynamicallyInvokable]
2677 throw Error.ArgumentNull(
"source");
2679 if (selector ==
null)
2681 throw Error.ArgumentNull(
"selector");
2699 [global::__DynamicallyInvokable]
2704 throw Error.ArgumentNull(
"source");
2706 if (selector ==
null)
2708 throw Error.ArgumentNull(
"selector");
2724 [global::__DynamicallyInvokable]
2729 throw Error.ArgumentNull(
"source");
2731 if (selector ==
null)
2733 throw Error.ArgumentNull(
"selector");
2751 [global::__DynamicallyInvokable]
2756 throw Error.ArgumentNull(
"source");
2758 if (selector ==
null)
2760 throw Error.ArgumentNull(
"selector");
2776 [global::__DynamicallyInvokable]
2781 throw Error.ArgumentNull(
"source");
2783 if (selector ==
null)
2785 throw Error.ArgumentNull(
"selector");
2803 [global::__DynamicallyInvokable]
2808 throw Error.ArgumentNull(
"source");
2810 if (selector ==
null)
2812 throw Error.ArgumentNull(
"selector");
2828 [global::__DynamicallyInvokable]
2833 throw Error.ArgumentNull(
"source");
2835 if (selector ==
null)
2837 throw Error.ArgumentNull(
"selector");
2855 [global::__DynamicallyInvokable]
2860 throw Error.ArgumentNull(
"source");
2862 if (selector ==
null)
2864 throw Error.ArgumentNull(
"selector");
2880 [global::__DynamicallyInvokable]
2885 throw Error.ArgumentNull(
"source");
2887 if (selector ==
null)
2889 throw Error.ArgumentNull(
"selector");
2907 [global::__DynamicallyInvokable]
2912 throw Error.ArgumentNull(
"source");
2916 throw Error.ArgumentNull(
"func");
2918 return source.Provider.Execute<TSource>(
Expression.Call(
null, GetMethodInfo(Aggregate, source, func),
new Expression[2]
2934 [global::__DynamicallyInvokable]
2939 throw Error.ArgumentNull(
"source");
2943 throw Error.ArgumentNull(
"func");
2945 return source.Provider.Execute<TAccumulate>(
Expression.Call(
null, GetMethodInfo(Aggregate, source, seed, func),
new Expression[3]
2964 [global::__DynamicallyInvokable]
2969 throw Error.ArgumentNull(
"source");
2973 throw Error.ArgumentNull(
"func");
2975 if (selector ==
null)
2977 throw Error.ArgumentNull(
"selector");
2979 return source.Provider.Execute<TResult>(
Expression.Call(
null, GetMethodInfo(Aggregate, source, seed, func, selector), source.Expression,
Expression.Constant(seed),
Expression.Quote(func),
Expression.Quote(selector)));
static TSource Last< TSource >(this IQueryable< TSource > source)
Returns the last element in a sequence.
static IOrderedQueryable< TSource > OrderByDescending< TSource, TKey >(this IQueryable< TSource > source, Expression< Func< TSource, TKey >> keySelector)
Sorts the elements of a sequence in descending order according to a key.
static double Average< TSource >(this IQueryable< TSource > source, Expression< Func< TSource, int >> selector)
Computes the average of a sequence of T:System.Int32 values that is obtained by invoking a projection...
static bool All< TSource >(this IQueryable< TSource > source, Expression< Func< TSource, bool >> predicate)
Determines whether all the elements of a sequence satisfy a condition.
static ? float Average(this IQueryable< float?> source)
Computes the average of a sequence of nullable T:System.Single values.
static TAccumulate Aggregate< TSource, TAccumulate >(this IQueryable< TSource > source, TAccumulate seed, Expression< Func< TAccumulate, TSource, TAccumulate >> func)
Applies an accumulator function over a sequence. The specified seed value is used as the initial accu...
static TResult Min< TSource, TResult >(this IQueryable< TSource > source, Expression< Func< TSource, TResult >> selector)
Invokes a projection function on each element of a generic T:System.Linq.IQueryable`1 and returns the...
static float Average(this IQueryable< float > source)
Computes the average of a sequence of T:System.Single values.
static decimal Average(this IQueryable< decimal > source)
Computes the average of a sequence of T:System.Decimal values.
Discovers the attributes of a method and provides access to method metadata.
static TSource ElementAt< TSource >(this IQueryable< TSource > source, int index)
Returns the element at a specified index in a sequence.
static IQueryable< TSource > Reverse< TSource >(this IQueryable< TSource > source)
Inverts the order of the elements in a sequence.
static IQueryable< TSource > SkipWhile< TSource >(this IQueryable< TSource > source, Expression< Func< TSource, bool >> predicate)
Bypasses elements in a sequence as long as a specified condition is true and then returns the remaini...
static TSource LastOrDefault< TSource >(this IQueryable< TSource > source)
Returns the last element in a sequence, or a default value if the sequence contains no elements.
Represents the result of a sorting operation.
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)
Correlates the elements of two sequences based on matching keys. The default equality comparer is use...
static ? double Average(this IQueryable< double?> source)
Computes the average of a sequence of nullable T:System.Double values.
static IQueryable< TSource > Where< TSource >(this IQueryable< TSource > source, Expression< Func< TSource, bool >> predicate)
Filters a sequence of values based on a predicate.
static IQueryable< TSource > Concat< TSource >(this IQueryable< TSource > source1, IEnumerable< TSource > source2)
Concatenates two sequences.
static IQueryable< TSource > Union< TSource >(this IQueryable< TSource > source1, IEnumerable< TSource > source2)
Produces the set union of two sequences by using the default equality comparer.
static TResult Aggregate< TSource, TAccumulate, TResult >(this IQueryable< TSource > source, TAccumulate seed, Expression< Func< TAccumulate, TSource, TAccumulate >> func, Expression< Func< TAccumulate, TResult >> selector)
Applies an accumulator function over a sequence. The specified seed value is used as the initial accu...
static IQueryable< TResult > Select< TSource, TResult >(this IQueryable< TSource > source, Expression< Func< TSource, TResult >> selector)
Projects each element of a sequence into a new form.
static bool SequenceEqual< TSource >(this IQueryable< TSource > source1, IEnumerable< TSource > source2)
Determines whether two sequences are equal by using the default equality comparer to compare elements...
Represents a collection of objects that have a common key.
Represents an T:System.Collections.IEnumerable as an T:System.Linq.EnumerableQuery data source.
static IQueryable< TResult > Zip< TFirst, TSecond, TResult >(this IQueryable< TFirst > source1, IEnumerable< TSecond > source2, Expression< Func< TFirst, TSecond, TResult >> resultSelector)
Merges two sequences by using the specified predicate function.
static ? double Sum(this IQueryable< double?> source)
Computes the sum of a sequence of nullable T:System.Double values.
static ? double Average(this IQueryable< long?> source)
Computes the average of a sequence of nullable T:System.Int64 values.
static TSource Max< TSource >(this IQueryable< TSource > source)
Returns the maximum value in a generic T:System.Linq.IQueryable`1.
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)
Correlates the elements of two sequences based on key equality and groups the results....
static long LongCount< TSource >(this IQueryable< TSource > source)
Returns an T:System.Int64 that represents the total number of elements in a sequence.
static decimal Sum(this IQueryable< decimal > source)
Computes the sum of a sequence of T:System.Decimal values.
virtual Type [] GetGenericArguments()
Returns an array of T:System.Type objects that represent the type arguments of a closed generic type ...
Provides the base class from which the classes that represent expression tree nodes are derived....
static IQueryable< TResult > Cast< TResult >(this IQueryable source)
Converts the elements of an T:System.Linq.IQueryable to the specified type.
static IQueryable< TSource > Take< TSource >(this IQueryable< TSource > source, int count)
Returns a specified number of contiguous elements from the start of a sequence.
Attribute can be applied to any application element.
static IQueryable AsQueryable(this IEnumerable source)
Converts an T:System.Collections.IEnumerable to an T:System.Linq.IQueryable.
static IQueryable< TResult > SelectMany< TSource, TCollection, TResult >(this IQueryable< TSource > source, Expression< Func< TSource, int, IEnumerable< TCollection >>> collectionSelector, Expression< Func< TSource, TCollection, TResult >> resultSelector)
Projects each element of a sequence to an T:System.Collections.Generic.IEnumerable`1 that incorporate...
static TSource FirstOrDefault< TSource >(this IQueryable< TSource > source)
Returns the first element of a sequence, or a default value if the sequence contains no elements.
static float Sum(this IQueryable< float > source)
Computes the sum of a sequence of T:System.Single values.
static bool Any< TSource >(this IQueryable< TSource > source)
Determines whether a sequence contains any elements.
static double Average(this IQueryable< double > source)
Computes the average of a sequence of T:System.Double values.
static TSource Aggregate< TSource >(this IQueryable< TSource > source, Expression< Func< TSource, TSource, TSource >> func)
Applies an accumulator function over a sequence.
static IQueryable< IGrouping< TKey, TElement > > GroupBy< TSource, TKey, TElement >(this IQueryable< TSource > source, Expression< Func< TSource, TKey >> keySelector, Expression< Func< TSource, TElement >> elementSelector)
Groups the elements of a sequence according to a specified key selector function and projects the ele...
static TResult Max< TSource, TResult >(this IQueryable< TSource > source, Expression< Func< TSource, TResult >> selector)
Invokes a projection function on each element of a generic T:System.Linq.IQueryable`1 and returns the...
static IQueryable< TElement > AsQueryable< TElement >(this IEnumerable< TElement > source)
Converts a generic T:System.Collections.Generic.IEnumerable`1 to a generic T:System....
static IOrderedQueryable< TSource > OrderBy< TSource, TKey >(this IQueryable< TSource > source, Expression< Func< TSource, TKey >> keySelector)
Sorts the elements of a sequence in ascending order according to a key.
static IQueryable< TSource > DefaultIfEmpty< TSource >(this IQueryable< TSource > source)
Returns the elements of the specified sequence or the type parameter's default value in a singleton c...
static double Sum(this IQueryable< double > source)
Computes the sum of a sequence of T:System.Double values.
static ? long Sum(this IQueryable< long?> source)
Computes the sum of a sequence of nullable T:System.Int64 values.
Represents type declarations: class types, interface types, array types, value types,...
static TSource Min< TSource >(this IQueryable< TSource > source)
Returns the minimum value of a generic T:System.Linq.IQueryable`1.
Provides functionality to evaluate queries against a specific data source wherein the type of the dat...
static TSource ElementAtOrDefault< TSource >(this IQueryable< TSource > source, int index)
Returns the element at a specified index in a sequence or a default value if the index is out of rang...
static ? float Sum(this IQueryable< float?> source)
Computes the sum of a sequence of nullable T:System.Single values.
static ? int Sum(this IQueryable< int?> source)
Computes the sum of a sequence of nullable T:System.Int32 values.
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)
Groups the elements of a sequence according to a specified key selector function and creates a result...
static IQueryable< TSource > Skip< TSource >(this IQueryable< TSource > source, int count)
Bypasses a specified number of elements in a sequence and then returns the remaining elements.
static ? decimal Average(this IQueryable< decimal?> source)
Computes the average of a sequence of nullable T:System.Decimal values.
static IOrderedQueryable< TSource > ThenByDescending< TSource, TKey >(this IOrderedQueryable< TSource > source, Expression< Func< TSource, TKey >> keySelector)
Performs a subsequent ordering of the elements in a sequence in descending order, according to a key.
Represents a single-precision floating-point number.
static IQueryable< TSource > TakeWhile< TSource >(this IQueryable< TSource > source, Expression< Func< TSource, bool >> predicate)
Returns elements from a sequence as long as a specified condition is true.
static IQueryable< TResult > SelectMany< TSource, TResult >(this IQueryable< TSource > source, Expression< Func< TSource, IEnumerable< TResult >>> selector)
Projects each element of a sequence to an T:System.Collections.Generic.IEnumerable`1 and combines the...
static double Average(this IQueryable< int > source)
Computes the average of a sequence of T:System.Int32 values.
static IQueryable< TSource > Intersect< TSource >(this IQueryable< TSource > source1, IEnumerable< TSource > source2)
Produces the set intersection of two sequences by using the default equality comparer to compare valu...
static IQueryable< TSource > Distinct< TSource >(this IQueryable< TSource > source)
Returns distinct elements from a sequence by using the default equality comparer to compare values.
static IQueryable< TResult > GroupBy< TSource, TKey, TResult >(this IQueryable< TSource > source, Expression< Func< TSource, TKey >> keySelector, Expression< Func< TKey, IEnumerable< TSource >, TResult >> resultSelector)
Groups the elements of a sequence according to a specified key selector function and creates a result...
static long Sum(this IQueryable< long > source)
Computes the sum of a sequence of T:System.Int64 values.
static TSource SingleOrDefault< TSource >(this IQueryable< TSource > source)
Returns the only element of a sequence, or a default value if the sequence is empty; this method thro...
static bool Contains< TSource >(this IQueryable< TSource > source, TSource item)
Determines whether a sequence contains a specified element by using the default equality comparer.
static int Sum(this IQueryable< int > source)
Computes the sum of a sequence of T:System.Int32 values.
static double Average(this IQueryable< long > source)
Computes the average of a sequence of T:System.Int64 values.
static int Count< TSource >(this IQueryable< TSource > source)
Returns the number of elements in a sequence.
static ? decimal Sum(this IQueryable< decimal?> source)
Computes the sum of a sequence of nullable T:System.Decimal values.
static IQueryable< IGrouping< TKey, TSource > > GroupBy< TSource, TKey >(this IQueryable< TSource > source, Expression< Func< TSource, TKey >> keySelector)
Groups the elements of a sequence according to a specified key selector function.
static IOrderedQueryable< TSource > ThenBy< TSource, TKey >(this IOrderedQueryable< TSource > source, Expression< Func< TSource, TKey >> keySelector)
Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.
static ? double Average(this IQueryable< int?> source)
Computes the average of a sequence of nullable T:System.Int32 values.
static IQueryable< TSource > Except< TSource >(this IQueryable< TSource > source1, IEnumerable< TSource > source2)
Produces the set difference of two sequences by using the default equality comparer to compare values...
static int Sum< TSource >(this IQueryable< TSource > source, Expression< Func< TSource, int >> selector)
Computes the sum of the sequence of T:System.Int32 values that is obtained by invoking a projection f...
static IQueryable< TResult > OfType< TResult >(this IQueryable source)
Filters the elements of an T:System.Linq.IQueryable based on a specified type.
static TSource Single< TSource >(this IQueryable< TSource > source)
Returns the only element of a sequence, and throws an exception if there is not exactly one element i...
Provides a set of static (Shared in Visual Basic) methods for querying data structures that implement...
static TSource First< TSource >(this IQueryable< TSource > source)
Returns the first element of a sequence.