1 interface inheriting from IQueryable
System.Linq.Expressions (1)
System\Linq\IQueryable.cs (1)
103
public interface IOrderedQueryable<out T> :
IQueryable
<T>, IOrderedQueryable
1 implementation of IQueryable
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
ExpressionTrees\Sources\QueryHelper.vb (1)
11
Public Class QueryHelper(Of T) : Implements System.Linq.
IQueryable
(Of T), System.Linq.IQueryProvider
563 references to IQueryable
Aspire.Dashboard (19)
Components\Controls\Chart\MetricTable.razor.cs (1)
29
private
IQueryable
<MetricViewBase> _metricsView => _metrics.Values.AsEnumerable().Reverse().ToList().AsQueryable();
Components\Controls\PropertyGrid.razor.cs (1)
96
public
IQueryable
<TItem>? Items { get; set; }
Components\Controls\ResourceDetails.razor.cs (5)
27
private
IQueryable
<EnvironmentVariableViewModel> FilteredEnvironmentVariables =>
32
private
IQueryable
<DisplayedEndpoint> FilteredEndpoints =>
37
private
IQueryable
<VolumeViewModel> FilteredVolumes =>
42
private
IQueryable
<HealthReportViewModel> FilteredHealthReports =>
47
private
IQueryable
<ResourcePropertyViewModel> FilteredResourceProperties =>
Components\Controls\SpanDetails.razor.cs (6)
28
private
IQueryable
<TelemetryPropertyViewModel> FilteredItems =>
31
private
IQueryable
<TelemetryPropertyViewModel> FilteredContextItems =>
34
private
IQueryable
<TelemetryPropertyViewModel> FilteredResourceItems =>
38
private
IQueryable
<OtlpSpanEvent> FilteredSpanEvents =>
41
private
IQueryable
<SpanLinkViewModel> FilteredSpanLinks =>
44
private
IQueryable
<SpanLinkViewModel> FilteredSpanBacklinks =>
Components\Controls\StructuredLogDetails.razor.cs (4)
18
internal
IQueryable
<TelemetryPropertyViewModel> FilteredItems =>
21
internal
IQueryable
<TelemetryPropertyViewModel> FilteredExceptionItems =>
24
internal
IQueryable
<TelemetryPropertyViewModel> FilteredContextItems =>
27
internal
IQueryable
<TelemetryPropertyViewModel> FilteredResourceItems =>
Components\Dialogs\ExemplarsDialog.razor.cs (1)
33
public
IQueryable
<ChartExemplar> MetricView => Content.Exemplars.AsQueryable();
Components\Pages\Resources.razor.cs (1)
135
private
IQueryable
<ResourceViewModel>? FilteredResources => _resourceByName.Values.Where(Filter).OrderBy(e => e.ResourceType).ThenBy(e => e, ResourceViewModelNameComparer.Instance).AsQueryable();
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
64
private static Type s_typeOfIQueryableGeneric = typeof(
IQueryable
<>);
Identity.DefaultUI.WebSite (2)
src\Identity\test\InMemory.Test\InMemoryUserStore.cs (2)
28
public
IQueryable
<TUser> Users
338
var
query = from user in Users
Microsoft.AspNetCore.Components.QuickGrid (23)
Columns\GridSort.cs (3)
17
private readonly Func<
IQueryable
<TGridItem>, bool, IOrderedQueryable<TGridItem>> _first;
26
internal GridSort(Func<
IQueryable
<TGridItem>, bool, IOrderedQueryable<TGridItem>> first, (LambdaExpression, bool) firstExpression)
88
internal IOrderedQueryable<TGridItem> Apply(
IQueryable
<TGridItem> queryable, bool ascending)
GridItemsProviderRequest.cs (7)
27
/// Rather than inferring the sort rules manually, you should normally call either <see cref="ApplySorting(
IQueryable
{TGridItem})"/>
35
/// Rather than inferring the sort rules manually, you should normally call either <see cref="ApplySorting(
IQueryable
{TGridItem})"/>
57
/// Applies the request's sorting rules to the supplied <see cref="
IQueryable
{TGridItem}"/>.
59
/// <param name="source">An <see cref="
IQueryable
{TGridItem}"/>.</param>
60
/// <returns>A new <see cref="
IQueryable
{TGridItem}"/> representing the <paramref name="source"/> with sorting rules applied.</returns>
61
public
IQueryable
<TGridItem> ApplySorting(
IQueryable
<TGridItem> source) =>
IAsyncQueryExecutor.cs (10)
9
/// Provides methods for asynchronous evaluation of queries against an <see cref="
IQueryable
{T}" />.
14
/// Determines whether the <see cref="
IQueryable
{T}" /> is supported by this <see cref="IAsyncQueryExecutor"/> type.
17
/// <param name="queryable">An <see cref="
IQueryable
{T}" /> instance.</param>
19
bool IsSupported<T>(
IQueryable
<T> queryable);
22
/// Asynchronously counts the items in the <see cref="
IQueryable
{T}" />, if supported.
25
/// <param name="queryable">An <see cref="
IQueryable
{T}" /> instance.</param>
27
Task<int> CountAsync<T>(
IQueryable
<T> queryable);
30
/// Asynchronously materializes the <see cref="
IQueryable
{T}" /> as an array, if supported.
33
/// <param name="queryable">An <see cref="
IQueryable
{T}" /> instance.</param>
35
Task<T[]> ToArrayAsync<T>(
IQueryable
<T> queryable);
Infrastructure\AsyncQueryExecutorSupplier.cs (1)
28
public static IAsyncQueryExecutor? GetAsyncQueryExecutor<T>(IServiceProvider services,
IQueryable
<T>? queryable)
QuickGrid.razor.cs (2)
28
[Parameter] public
IQueryable
<TGridItem>? Items { get; set; }
379
var
result = request.ApplySorting(Items).Skip(request.StartIndex);
Microsoft.AspNetCore.Identity.EntityFrameworkCore (7)
RoleStore.cs (1)
383
public virtual
IQueryable
<TRole> Roles => Context.Set<TRole>();
UserOnlyStore.cs (2)
244
public override
IQueryable
<TUser> Users
472
var
query = from userclaims in UserClaims
UserStore.cs (4)
246
public override
IQueryable
<TUser> Users
369
var
query = from userRole in UserRoles
587
var
query = from userclaims in UserClaims
614
var
query = from userrole in UserRoles
Microsoft.AspNetCore.Identity.InMemory.Test (3)
InMemoryStore.cs (1)
161
public
IQueryable
<TRole> Roles
InMemoryUserStore.cs (2)
28
public
IQueryable
<TUser> Users
338
var
query = from user in Users
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (2)
EnumerableWrapperProviderTest.cs (1)
13
[InlineData(typeof(
IQueryable
<SerializableError>),
XmlSerializerOutputFormatterTest.cs (1)
346
Enumerable.Range(1, 2).Select(i => "value" + i).AsQueryable(), typeof(
IQueryable
<string>), true };
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (5)
ExpressionTrees\Sources\QueryHelper.vb (5)
43
Public Function CreateQuery1(Of TElement)(expression As System.Linq.Expressions.Expression) As System.Linq.
IQueryable
(Of TElement) Implements System.Linq.IQueryProvider.CreateQuery
82
Public Function GroupJoin(Of TOuter, TInner, TKey, TResult)(outer As System.Linq.
IQueryable
(Of TOuter), inner As System.Linq.
IQueryable
(Of TInner), outerKeySelector As Expression(Of Func(Of TOuter, TKey)), innerKeySelector As Expression(Of Func(Of TInner, TKey)), resultSelector As Expression(Of Func(Of TOuter, System.Linq.
IQueryable
(Of TInner), TResult))) As System.Linq.
IQueryable
(Of TResult)
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
155
new PredefinedTypeInfo(PredefinedType.PT_G_IQUERYABLE, typeof(System.Linq.
IQueryable
<>), "System.Linq.IQueryable`1"),
Microsoft.Extensions.Identity.Core (8)
IQueryableRoleStore.cs (3)
15
/// Returns an <see cref="
IQueryable
{T}"/> collection of roles.
17
/// <value>An <see cref="
IQueryable
{T}"/> collection of roles.</value>
18
IQueryable
<TRole> Roles { get; }
IQueryableUserStore.cs (3)
15
/// Returns an <see cref="
IQueryable
{T}"/> collection of users.
17
/// <value>An <see cref="
IQueryable
{T}"/> collection of users.</value>
18
IQueryable
<TUser> Users { get; }
RoleManager.cs (1)
105
public virtual
IQueryable
<TRole> Roles
UserManager.cs (1)
379
public virtual
IQueryable
<TUser> Users
Microsoft.Extensions.Identity.Stores (2)
RoleStoreBase.cs (1)
235
public abstract
IQueryable
<TRole> Roles
UserStoreBase.cs (1)
261
public abstract
IQueryable
<TUser> Users
netstandard (1)
netstandard.cs (1)
1035
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.
IQueryable
<>))]
System.ComponentModel.Composition (5)
System\ComponentModel\Composition\Primitives\ComposablePartCatalog.cs (5)
25
private volatile
IQueryable
<ComposablePartDefinition>? _queryableParts;
40
/// A <see cref="
IQueryable
{T}"/> of <see cref="ComposablePartDefinition"/> objects of the
52
public virtual
IQueryable
<ComposablePartDefinition> Parts
60
var
p = this.AsQueryable();
160
var
parts = Parts;
System.Core (1)
System.Core.cs (1)
173
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.
IQueryable
<>))]
System.Linq.Expressions (5)
System\Linq\IQueryable.cs (5)
59
/// Constructs an <see cref="
IQueryable
{T}"/> object that can evaluate the query represented by a specified expression tree.
62
/// <returns>An <see cref="
IQueryable
{T}"/> that can evaluate the query represented by the specified expression tree.</returns>
64
/// The <see cref="CreateQuery{TElement}"/> method is used to create new <see cref="
IQueryable
{T}"/> objects, given an expression tree. The query that is represented by the returned object is associated with a specific LINQ provider.
67
IQueryable
<TElement> CreateQuery<TElement>(Expression expression);
86
/// The <see cref="Execute{TElement}"/> method executes queries that return a single value (instead of an enumerable sequence of values). Expression trees that represent queries that return enumerable results are executed when the <see cref="
IQueryable
{T}"/> object that contains the expression tree is enumerated.
System.Linq.Queryable (469)
System\Linq\EnumerableQuery.cs (3)
67
Type? iqType = TypeHelper.FindGenericType(typeof(
IQueryable
<>), expression.Type);
73
IQueryable
<TElement> IQueryProvider.CreateQuery<TElement>(Expression expression)
77
if (!typeof(
IQueryable
<TElement>).IsAssignableFrom(expression.Type))
System\Linq\EnumerableRewriter.cs (2)
169
else if (genericType == typeof(
IQueryable
<>))
189
.Where(i => i.GenType == typeof(
IQueryable
<>) || i.GenType == typeof(IEnumerable<>))
System\Linq\Queryable.cs (464)
18
public static
IQueryable
<TElement> AsQueryable<TElement>(this IEnumerable<TElement> source)
22
return source as
IQueryable
<TElement> ?? new EnumerableQuery<TElement>(source);
46
public static
IQueryable
<TSource> Where<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
54
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>,
IQueryable
<TSource>>(Where).Method,
59
public static
IQueryable
<TSource> Where<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, bool>> predicate)
67
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int, bool>>,
IQueryable
<TSource>>(Where).Method,
72
public static
IQueryable
<TResult> OfType<TResult>(this IQueryable source)
79
new Func<IQueryable,
IQueryable
<TResult>>(OfType<TResult>).Method,
84
public static
IQueryable
<TResult> Cast<TResult>(this IQueryable source)
91
new Func<IQueryable,
IQueryable
<TResult>>(Cast<TResult>).Method,
96
public static
IQueryable
<TResult> Select<TSource, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TResult>> selector)
104
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TResult>>,
IQueryable
<TResult>>(Select).Method,
109
public static
IQueryable
<TResult> Select<TSource, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, TResult>> selector)
117
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int, TResult>>,
IQueryable
<TResult>>(Select).Method,
122
public static
IQueryable
<TResult> SelectMany<TSource, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, IEnumerable<TResult>>> selector)
130
new Func<
IQueryable
<TSource>, Expression<Func<TSource, IEnumerable<TResult>>>,
IQueryable
<TResult>>(SelectMany).Method,
135
public static
IQueryable
<TResult> SelectMany<TSource, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, IEnumerable<TResult>>> selector)
143
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int, IEnumerable<TResult>>>,
IQueryable
<TResult>>(SelectMany).Method,
148
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)
157
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int, IEnumerable<TCollection>>>, Expression<Func<TSource, TCollection, TResult>>,
IQueryable
<TResult>>(SelectMany).Method,
162
public static
IQueryable
<TResult> SelectMany<TSource, TCollection, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, IEnumerable<TCollection>>> collectionSelector, Expression<Func<TSource, TCollection, TResult>> resultSelector)
171
new Func<
IQueryable
<TSource>, Expression<Func<TSource, IEnumerable<TCollection>>>, Expression<Func<TSource, TCollection, TResult>>,
IQueryable
<TResult>>(SelectMany).Method,
177
IQueryable
<TSource>? q = source as
IQueryable
<TSource>;
182
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)
193
new Func<
IQueryable
<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner, TResult>>,
IQueryable
<TResult>>(Join).Method,
198
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)
209
new Func<
IQueryable
<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner, TResult>>, IEqualityComparer<TKey>,
IQueryable
<TResult>>(Join).Method,
214
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)
225
new Func<
IQueryable
<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, IEnumerable<TInner>, TResult>>,
IQueryable
<TResult>>(GroupJoin).Method,
230
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)
241
new Func<
IQueryable
<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, IEnumerable<TInner>, TResult>>, IEqualityComparer<TKey>,
IQueryable
<TResult>>(GroupJoin).Method,
257
/// The <see cref="Order{T}(
IQueryable
{T})"/> method generates a <see cref="MethodCallExpression"/> that represents
270
public static IOrderedQueryable<T> Order<T>(this
IQueryable
<T> source)
277
new Func<
IQueryable
<T>, IOrderedQueryable<T>>(Order).Method,
294
/// The <see cref="Order{T}(
IQueryable
{T})"/> method generates a <see cref="MethodCallExpression"/> that represents
307
public static IOrderedQueryable<T> Order<T>(this
IQueryable
<T> source, IComparer<T> comparer)
314
new Func<
IQueryable
<T>, IComparer<T>, IOrderedQueryable<T>>(Order).Method,
319
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
327
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(OrderBy).Method,
332
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
340
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(OrderBy).Method,
356
/// The <see cref="Order{T}(
IQueryable
{T})"/> method generates a <see cref="MethodCallExpression"/> that represents
369
public static IOrderedQueryable<T> OrderDescending<T>(this
IQueryable
<T> source)
376
new Func<
IQueryable
<T>, IOrderedQueryable<T>>(OrderDescending).Method,
393
/// The <see cref="Order{T}(
IQueryable
{T})"/> method generates a <see cref="MethodCallExpression"/> that represents
406
public static IOrderedQueryable<T> OrderDescending<T>(this
IQueryable
<T> source, IComparer<T> comparer)
413
new Func<
IQueryable
<T>, IComparer<T>, IOrderedQueryable<T>>(OrderDescending).Method,
418
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
426
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(OrderByDescending).Method,
431
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
439
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(OrderByDescending).Method,
496
public static
IQueryable
<TSource> Take<TSource>(this
IQueryable
<TSource> source, int count)
503
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource>>(Take).Method,
512
/// <returns>An <see cref="
IQueryable
{T}" /> that contains the specified <paramref name="range" /> of elements from the <paramref name="source" /> sequence.</returns>
514
public static
IQueryable
<TSource> Take<TSource>(this
IQueryable
<TSource> source, Range range)
521
new Func<
IQueryable
<TSource>, Range,
IQueryable
<TSource>>(Take).Method,
526
public static
IQueryable
<TSource> TakeWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
534
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>,
IQueryable
<TSource>>(TakeWhile).Method,
539
public static
IQueryable
<TSource> TakeWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, bool>> predicate)
547
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int, bool>>,
IQueryable
<TSource>>(TakeWhile).Method,
552
public static
IQueryable
<TSource> Skip<TSource>(this
IQueryable
<TSource> source, int count)
559
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource>>(Skip).Method,
564
public static
IQueryable
<TSource> SkipWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
572
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>,
IQueryable
<TSource>>(SkipWhile).Method,
577
public static
IQueryable
<TSource> SkipWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, bool>> predicate)
585
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int, bool>>,
IQueryable
<TSource>>(SkipWhile).Method,
590
public static
IQueryable
<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
598
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>,
IQueryable
<IGrouping<TKey, TSource>>>(GroupBy).Method,
603
public static
IQueryable
<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector)
612
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>,
IQueryable
<IGrouping<TKey, TElement>>>(GroupBy).Method,
617
public static
IQueryable
<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
625
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<IGrouping<TKey, TSource>>>(GroupBy).Method,
630
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)
639
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, IEqualityComparer<TKey>,
IQueryable
<IGrouping<TKey, TElement>>>(GroupBy).Method,
644
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)
654
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, Expression<Func<TKey, IEnumerable<TElement>, TResult>>,
IQueryable
<TResult>>(GroupBy).Method,
659
public static
IQueryable
<TResult> GroupBy<TSource, TKey, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector)
668
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TKey, IEnumerable<TSource>, TResult>>,
IQueryable
<TResult>>(GroupBy).Method,
673
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)
682
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TKey, IEnumerable<TSource>, TResult>>, IEqualityComparer<TKey>,
IQueryable
<TResult>>(GroupBy).Method,
687
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)
697
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, Expression<Func<TKey, IEnumerable<TElement>, TResult>>, IEqualityComparer<TKey>,
IQueryable
<TResult>>(GroupBy).Method,
702
public static
IQueryable
<TSource> Distinct<TSource>(this
IQueryable
<TSource> source)
709
new Func<
IQueryable
<TSource>,
IQueryable
<TSource>>(Distinct).Method,
714
public static
IQueryable
<TSource> Distinct<TSource>(this
IQueryable
<TSource> source, IEqualityComparer<TSource>? comparer)
721
new Func<
IQueryable
<TSource>, IEqualityComparer<TSource>,
IQueryable
<TSource>>(Distinct).Method,
730
/// <returns>An <see cref="
IQueryable
{T}" /> that contains distinct elements from the source sequence.</returns>
733
public static
IQueryable
<TSource> DistinctBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
741
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>,
IQueryable
<TSource>>(DistinctBy).Method,
751
/// <returns>An <see cref="
IQueryable
{T}" /> that contains distinct elements from the source sequence.</returns>
754
public static
IQueryable
<TSource> DistinctBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
762
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<TSource>>(DistinctBy).Method,
770
/// <returns>An <see cref="
IQueryable
{T}"/> that contains the elements the input sequence split into chunks of size <paramref name="size"/>.</returns>
778
public static
IQueryable
<TSource[]> Chunk<TSource>(this
IQueryable
<TSource> source, int size)
785
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource[]>>(Chunk).Method,
790
public static
IQueryable
<TSource> Concat<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
798
new Func<
IQueryable
<TSource>, IEnumerable<TSource>,
IQueryable
<TSource>>(Concat).Method,
803
public static
IQueryable
<(TFirst First, TSecond Second)> Zip<TFirst, TSecond>(this
IQueryable
<TFirst> source1, IEnumerable<TSecond> source2)
811
new Func<
IQueryable
<TFirst>, IEnumerable<TSecond>,
IQueryable
<(TFirst, TSecond)>>(Zip).Method,
816
public static
IQueryable
<TResult> Zip<TFirst, TSecond, TResult>(this
IQueryable
<TFirst> source1, IEnumerable<TSecond> source2, Expression<Func<TFirst, TSecond, TResult>> resultSelector)
825
new Func<
IQueryable
<TFirst>, IEnumerable<TSecond>, Expression<Func<TFirst, TSecond, TResult>>,
IQueryable
<TResult>>(Zip).Method,
840
public static
IQueryable
<(TFirst First, TSecond Second, TThird Third)> Zip<TFirst, TSecond, TThird>(this
IQueryable
<TFirst> source1, IEnumerable<TSecond> source2, IEnumerable<TThird> source3)
849
new Func<
IQueryable
<TFirst>, IEnumerable<TSecond>, IEnumerable<TThird>,
IQueryable
<(TFirst, TSecond, TThird)>>(Zip).Method,
854
public static
IQueryable
<TSource> Union<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
862
new Func<
IQueryable
<TSource>, IEnumerable<TSource>,
IQueryable
<TSource>>(Union).Method,
867
public static
IQueryable
<TSource> Union<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource>? comparer)
875
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>,
IQueryable
<TSource>>(Union).Method,
884
/// <param name="source1">An <see cref="
IQueryable
{T}" /> whose distinct elements form the first set for the union.</param>
887
/// <returns>An <see cref="
IQueryable
{T}" /> that contains the elements from both input sequences, excluding duplicates.</returns>
890
public static
IQueryable
<TSource> UnionBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, Expression<Func<TSource, TKey>> keySelector)
899
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, Expression<Func<TSource, TKey>>,
IQueryable
<TSource>>(UnionBy).Method,
906
/// <param name="source1">An <see cref="
IQueryable
{T}" /> whose distinct elements form the first set for the union.</param>
910
/// <returns>An <see cref="
IQueryable
{T}" /> that contains the elements from both input sequences, excluding duplicates.</returns>
913
public static
IQueryable
<TSource> UnionBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
922
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<TSource>>(UnionBy).Method,
931
/// <param name="source">An <see cref="
IQueryable
{T}" /> to return an element from.</param>
935
public static
IQueryable
<(int Index, TSource Item)> Index<TSource>(this
IQueryable
<TSource> source)
942
new Func<
IQueryable
<TSource>,
IQueryable
<(int Index, TSource Item)>>(Index).Method,
947
public static
IQueryable
<TSource> Intersect<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
955
new Func<
IQueryable
<TSource>, IEnumerable<TSource>,
IQueryable
<TSource>>(Intersect).Method,
960
public static
IQueryable
<TSource> Intersect<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource>? comparer)
968
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>,
IQueryable
<TSource>>(Intersect).Method,
977
/// <param name="source1">An <see cref="
IQueryable
{T}" /> whose distinct elements that also appear in <paramref name="source2" /> will be returned.</param>
983
public static
IQueryable
<TSource> IntersectBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TKey> source2, Expression<Func<TSource, TKey>> keySelector)
992
new Func<
IQueryable
<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>,
IQueryable
<TSource>>(IntersectBy).Method,
1001
/// <param name="source1">An <see cref="
IQueryable
{T}" /> whose distinct elements that also appear in <paramref name="source2" /> will be returned.</param>
1008
public static
IQueryable
<TSource> IntersectBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TKey> source2, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1017
new Func<
IQueryable
<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<TSource>>(IntersectBy).Method,
1025
public static
IQueryable
<TSource> Except<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
1033
new Func<
IQueryable
<TSource>, IEnumerable<TSource>,
IQueryable
<TSource>>(Except).Method,
1038
public static
IQueryable
<TSource> Except<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource>? comparer)
1046
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>,
IQueryable
<TSource>>(Except).Method,
1057
/// <param name="source1">An <see cref="
IQueryable
{TSource}" /> whose keys that are not also in <paramref name="source2"/> will be returned.</param>
1060
/// <returns>A <see cref="
IQueryable
{TSource}" /> that contains the set difference of the elements of two sequences.</returns>
1062
public static
IQueryable
<TSource> ExceptBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TKey> source2, Expression<Func<TSource, TKey>> keySelector)
1071
new Func<
IQueryable
<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>,
IQueryable
<TSource>>(ExceptBy).Method,
1082
/// <param name="source1">An <see cref="
IQueryable
{TSource}" /> whose keys that are not also in <paramref name="source2"/> will be returned.</param>
1086
/// <returns>A <see cref="
IQueryable
{TSource}" /> that contains the set difference of the elements of two sequences.</returns>
1088
public static
IQueryable
<TSource> ExceptBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TKey> source2, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1097
new Func<
IQueryable
<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<TSource>>(ExceptBy).Method,
1105
public static TSource First<TSource>(this
IQueryable
<TSource> source)
1112
new Func<
IQueryable
<TSource>, TSource>(First).Method,
1117
public static TSource First<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1125
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource>(First).Method,
1130
public static TSource? FirstOrDefault<TSource>(this
IQueryable
<TSource> source)
1137
new Func<
IQueryable
<TSource>, TSource?>(FirstOrDefault).Method,
1148
public static TSource FirstOrDefault<TSource>(this
IQueryable
<TSource> source, TSource defaultValue)
1155
new Func<
IQueryable
<TSource>, TSource, TSource>(FirstOrDefault).Method,
1160
public static TSource? FirstOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1168
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource?>(FirstOrDefault).Method,
1180
public static TSource FirstOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate, TSource defaultValue)
1188
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(FirstOrDefault).Method,
1193
public static TSource Last<TSource>(this
IQueryable
<TSource> source)
1200
new Func<
IQueryable
<TSource>, TSource>(Last).Method,
1205
public static TSource Last<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1213
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource>(Last).Method,
1218
public static TSource? LastOrDefault<TSource>(this
IQueryable
<TSource> source)
1225
new Func<
IQueryable
<TSource>, TSource?>(LastOrDefault).Method,
1236
public static TSource LastOrDefault<TSource>(this
IQueryable
<TSource> source, TSource defaultValue)
1243
new Func<
IQueryable
<TSource>, TSource, TSource>(LastOrDefault).Method,
1248
public static TSource? LastOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1256
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource?>(LastOrDefault).Method,
1268
public static TSource LastOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate, TSource defaultValue)
1276
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(LastOrDefault).Method,
1282
public static TSource Single<TSource>(this
IQueryable
<TSource> source)
1289
new Func<
IQueryable
<TSource>, TSource>(Single).Method,
1294
public static TSource Single<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1302
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource>(Single).Method,
1307
public static TSource? SingleOrDefault<TSource>(this
IQueryable
<TSource> source)
1314
new Func<
IQueryable
<TSource>, TSource?>(SingleOrDefault).Method,
1326
public static TSource SingleOrDefault<TSource>(this
IQueryable
<TSource> source, TSource defaultValue)
1333
new Func<
IQueryable
<TSource>, TSource, TSource>(SingleOrDefault).Method,
1338
public static TSource? SingleOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1346
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource?>(SingleOrDefault).Method,
1359
public static TSource SingleOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate, TSource defaultValue)
1367
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(SingleOrDefault).Method,
1372
public static TSource ElementAt<TSource>(this
IQueryable
<TSource> source, int index)
1382
new Func<
IQueryable
<TSource>, int, TSource>(ElementAt).Method,
1388
/// <param name="source">An <see cref="
IQueryable
{T}" /> to return an element from.</param>
1394
public static TSource ElementAt<TSource>(this
IQueryable
<TSource> source, Index index)
1404
new Func<
IQueryable
<TSource>, Index, TSource>(ElementAt).Method,
1409
public static TSource? ElementAtOrDefault<TSource>(this
IQueryable
<TSource> source, int index)
1416
new Func<
IQueryable
<TSource>, int, TSource?>(ElementAtOrDefault).Method,
1422
/// <param name="source">An <see cref="
IQueryable
{T}" /> to return an element from.</param>
1427
public static TSource? ElementAtOrDefault<TSource>(this
IQueryable
<TSource> source, Index index)
1434
new Func<
IQueryable
<TSource>, Index, TSource?>(ElementAtOrDefault).Method,
1439
public static
IQueryable
<TSource?> DefaultIfEmpty<TSource>(this
IQueryable
<TSource> source)
1446
new Func<
IQueryable
<TSource>,
IQueryable
<TSource?>>(DefaultIfEmpty).Method,
1451
public static
IQueryable
<TSource> DefaultIfEmpty<TSource>(this
IQueryable
<TSource> source, TSource defaultValue)
1458
new Func<
IQueryable
<TSource>, TSource,
IQueryable
<TSource?>>(DefaultIfEmpty).Method,
1463
public static bool Contains<TSource>(this
IQueryable
<TSource> source, TSource item)
1470
new Func<
IQueryable
<TSource>, TSource, bool>(Contains).Method,
1475
public static bool Contains<TSource>(this
IQueryable
<TSource> source, TSource item, IEqualityComparer<TSource>? comparer)
1482
new Func<
IQueryable
<TSource>, TSource, IEqualityComparer<TSource>, bool>(Contains).Method,
1487
public static
IQueryable
<TSource> Reverse<TSource>(this
IQueryable
<TSource> source)
1494
new Func<
IQueryable
<TSource>,
IQueryable
<TSource>>(Reverse).Method,
1499
public static bool SequenceEqual<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
1507
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, bool>(SequenceEqual).Method,
1512
public static bool SequenceEqual<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource>? comparer)
1520
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>, bool>(SequenceEqual).Method,
1527
public static bool Any<TSource>(this
IQueryable
<TSource> source)
1534
new Func<
IQueryable
<TSource>, bool>(Any).Method,
1539
public static bool Any<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1547
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, bool>(Any).Method,
1552
public static bool All<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1560
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, bool>(All).Method,
1565
public static int Count<TSource>(this
IQueryable
<TSource> source)
1572
new Func<
IQueryable
<TSource>, int>(Count).Method,
1577
public static int Count<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1585
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, int>(Count).Method,
1595
/// <returns>An <see cref="
IQueryable
{T}" /> that contains count for each distinct elements from the source sequence as a <see cref="KeyValuePair{TKey, TValue}"/> object.</returns>
1598
public static
IQueryable
<KeyValuePair<TKey, int>> CountBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer = null) where TKey : notnull
1606
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<KeyValuePair<TKey, int>>>(CountBy).Method,
1611
public static long LongCount<TSource>(this
IQueryable
<TSource> source)
1618
new Func<
IQueryable
<TSource>, long>(LongCount).Method,
1623
public static long LongCount<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1631
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, long>(LongCount).Method,
1636
public static TSource? Min<TSource>(this
IQueryable
<TSource> source)
1643
new Func<
IQueryable
<TSource>, TSource?>(Min).Method,
1647
/// <summary>Returns the minimum value in a generic <see cref="System.Linq.
IQueryable
{T}" />.</summary>
1655
public static TSource? Min<TSource>(this
IQueryable
<TSource> source, IComparer<TSource>? comparer)
1662
new Func<
IQueryable
<TSource>, IComparer<TSource>, TSource?>(Min).Method,
1668
public static TResult? Min<TSource, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TResult>> selector)
1676
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TResult>>, TResult?>(Min).Method,
1680
/// <summary>Returns the minimum value in a generic <see cref="
IQueryable
{T}"/> according to a specified key selector function.</summary>
1689
public static TSource? MinBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
1697
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, TSource?>(MinBy).Method,
1702
/// <summary>Returns the minimum value in a generic <see cref="
IQueryable
{T}"/> according to a specified key selector function.</summary>
1712
public static TSource? MinBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TSource>? comparer)
1720
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TSource>, TSource?>(MinBy).Method,
1727
public static TSource? Max<TSource>(this
IQueryable
<TSource> source)
1734
new Func<
IQueryable
<TSource>, TSource?>(Max).Method,
1738
/// <summary>Returns the maximum value in a generic <see cref="System.Linq.
IQueryable
{T}" />.</summary>
1745
public static TSource? Max<TSource>(this
IQueryable
<TSource> source, IComparer<TSource>? comparer)
1752
new Func<
IQueryable
<TSource>, IComparer<TSource>, TSource?>(Max).Method,
1758
public static TResult? Max<TSource, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TResult>> selector)
1766
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TResult>>, TResult?>(Max).Method,
1770
/// <summary>Returns the maximum value in a generic <see cref="
IQueryable
{T}"/> according to a specified key selector function.</summary>
1779
public static TSource? MaxBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
1787
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, TSource?>(MaxBy).Method,
1792
/// <summary>Returns the maximum value in a generic <see cref="
IQueryable
{T}"/> according to a specified key selector function.</summary>
1802
public static TSource? MaxBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TSource>? comparer)
1810
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TSource>, TSource?>(MaxBy).Method,
1817
public static int Sum(this
IQueryable
<int> source)
1824
new Func<
IQueryable
<int>, int>(Sum).Method,
1829
public static int? Sum(this
IQueryable
<int?> source)
1836
new Func<
IQueryable
<int?>, int?>(Sum).Method,
1841
public static long Sum(this
IQueryable
<long> source)
1848
new Func<
IQueryable
<long>, long>(Sum).Method,
1853
public static long? Sum(this
IQueryable
<long?> source)
1860
new Func<
IQueryable
<long?>, long?>(Sum).Method,
1865
public static float Sum(this
IQueryable
<float> source)
1872
new Func<
IQueryable
<float>, float>(Sum).Method,
1877
public static float? Sum(this
IQueryable
<float?> source)
1884
new Func<
IQueryable
<float?>, float?>(Sum).Method,
1889
public static double Sum(this
IQueryable
<double> source)
1896
new Func<
IQueryable
<double>, double>(Sum).Method,
1901
public static double? Sum(this
IQueryable
<double?> source)
1908
new Func<
IQueryable
<double?>, double?>(Sum).Method,
1913
public static decimal Sum(this
IQueryable
<decimal> source)
1920
new Func<
IQueryable
<decimal>, decimal>(Sum).Method,
1925
public static decimal? Sum(this
IQueryable
<decimal?> source)
1932
new Func<
IQueryable
<decimal?>, decimal?>(Sum).Method,
1937
public static int Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int>> selector)
1945
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int>>, int>(Sum).Method,
1950
public static int? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int?>> selector)
1958
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int?>>, int?>(Sum).Method,
1963
public static long Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, long>> selector)
1971
new Func<
IQueryable
<TSource>, Expression<Func<TSource, long>>, long>(Sum).Method,
1976
public static long? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, long?>> selector)
1984
new Func<
IQueryable
<TSource>, Expression<Func<TSource, long?>>, long?>(Sum).Method,
1989
public static float Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float>> selector)
1997
new Func<
IQueryable
<TSource>, Expression<Func<TSource, float>>, float>(Sum).Method,
2002
public static float? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float?>> selector)
2010
new Func<
IQueryable
<TSource>, Expression<Func<TSource, float?>>, float?>(Sum).Method,
2015
public static double Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, double>> selector)
2023
new Func<
IQueryable
<TSource>, Expression<Func<TSource, double>>, double>(Sum).Method,
2028
public static double? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, double?>> selector)
2036
new Func<
IQueryable
<TSource>, Expression<Func<TSource, double?>>, double?>(Sum).Method,
2041
public static decimal Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, decimal>> selector)
2049
new Func<
IQueryable
<TSource>, Expression<Func<TSource, decimal>>, decimal>(Sum).Method,
2054
public static decimal? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, decimal?>> selector)
2062
new Func<
IQueryable
<TSource>, Expression<Func<TSource, decimal?>>, decimal?>(Sum).Method,
2067
public static double Average(this
IQueryable
<int> source)
2074
new Func<
IQueryable
<int>, double>(Average).Method,
2079
public static double? Average(this
IQueryable
<int?> source)
2086
new Func<
IQueryable
<int?>, double?>(Average).Method,
2091
public static double Average(this
IQueryable
<long> source)
2098
new Func<
IQueryable
<long>, double>(Average).Method,
2103
public static double? Average(this
IQueryable
<long?> source)
2110
new Func<
IQueryable
<long?>, double?>(Average).Method,
2115
public static float Average(this
IQueryable
<float> source)
2122
new Func<
IQueryable
<float>, float>(Average).Method,
2127
public static float? Average(this
IQueryable
<float?> source)
2134
new Func<
IQueryable
<float?>, float?>(Average).Method,
2139
public static double Average(this
IQueryable
<double> source)
2146
new Func<
IQueryable
<double>, double>(Average).Method,
2151
public static double? Average(this
IQueryable
<double?> source)
2158
new Func<
IQueryable
<double?>, double?>(Average).Method,
2163
public static decimal Average(this
IQueryable
<decimal> source)
2170
new Func<
IQueryable
<decimal>, decimal>(Average).Method,
2175
public static decimal? Average(this
IQueryable
<decimal?> source)
2182
new Func<
IQueryable
<decimal?>, decimal?>(Average).Method,
2187
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int>> selector)
2195
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int>>, double>(Average).Method,
2200
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int?>> selector)
2208
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int?>>, double?>(Average).Method,
2213
public static float Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float>> selector)
2221
new Func<
IQueryable
<TSource>, Expression<Func<TSource, float>>, float>(Average).Method,
2226
public static float? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float?>> selector)
2234
new Func<
IQueryable
<TSource>, Expression<Func<TSource, float?>>, float?>(Average).Method,
2239
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, long>> selector)
2247
new Func<
IQueryable
<TSource>, Expression<Func<TSource, long>>, double>(Average).Method,
2252
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, long?>> selector)
2260
new Func<
IQueryable
<TSource>, Expression<Func<TSource, long?>>, double?>(Average).Method,
2265
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, double>> selector)
2273
new Func<
IQueryable
<TSource>, Expression<Func<TSource, double>>, double>(Average).Method,
2278
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, double?>> selector)
2286
new Func<
IQueryable
<TSource>, Expression<Func<TSource, double?>>, double?>(Average).Method,
2291
public static decimal Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, decimal>> selector)
2299
new Func<
IQueryable
<TSource>, Expression<Func<TSource, decimal>>, decimal>(Average).Method,
2304
public static decimal? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, decimal?>> selector)
2312
new Func<
IQueryable
<TSource>, Expression<Func<TSource, decimal?>>, decimal?>(Average).Method,
2317
public static TSource Aggregate<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, TSource, TSource>> func)
2325
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TSource, TSource>>, TSource>(Aggregate).Method,
2330
public static TAccumulate Aggregate<TSource, TAccumulate>(this
IQueryable
<TSource> source, TAccumulate seed, Expression<Func<TAccumulate, TSource, TAccumulate>> func)
2338
new Func<
IQueryable
<TSource>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, TAccumulate>(Aggregate).Method,
2343
public static TResult Aggregate<TSource, TAccumulate, TResult>(this
IQueryable
<TSource> source, TAccumulate seed, Expression<Func<TAccumulate, TSource, TAccumulate>> func, Expression<Func<TAccumulate, TResult>> selector)
2352
new Func<
IQueryable
<TSource>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, Expression<Func<TAccumulate, TResult>>, TResult>(Aggregate).Method,
2362
/// <param name="source">An <see cref="
IQueryable
{T}"/> to aggregate over.</param>
2369
/// This method is comparable to the <see cref="GroupBy{TSource, TKey}(
IQueryable
{TSource}, Expression{Func{TSource, TKey}})"/> methods
2373
public static
IQueryable
<KeyValuePair<TKey, TAccumulate>> AggregateBy<TSource, TKey, TAccumulate>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, TAccumulate seed, Expression<Func<TAccumulate, TSource, TAccumulate>> func, IEqualityComparer<TKey>? keyComparer = null) where TKey : notnull
2382
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, IEqualityComparer<TKey>,
IQueryable
<KeyValuePair<TKey, TAccumulate>>>(AggregateBy).Method,
2392
/// <param name="source">An <see cref="
IQueryable
{T}"/> to aggregate over.</param>
2399
/// This method is comparable to the <see cref="GroupBy{TSource, TKey}(
IQueryable
{TSource}, Expression{Func{TSource, TKey}})"/> methods
2403
public static
IQueryable
<KeyValuePair<TKey, TAccumulate>> AggregateBy<TSource, TKey, TAccumulate>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TKey, TAccumulate>> seedSelector, Expression<Func<TAccumulate, TSource, TAccumulate>> func, IEqualityComparer<TKey>? keyComparer = null) where TKey : notnull
2413
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TKey, TAccumulate>>, Expression<Func<TAccumulate, TSource, TAccumulate>>, IEqualityComparer<TKey>,
IQueryable
<KeyValuePair<TKey, TAccumulate>>>(AggregateBy).Method,
2418
public static
IQueryable
<TSource> SkipLast<TSource>(this
IQueryable
<TSource> source, int count)
2425
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource>>(SkipLast).Method,
2431
public static
IQueryable
<TSource> TakeLast<TSource>(this
IQueryable
<TSource> source, int count)
2438
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource>>(TakeLast).Method,
2443
public static
IQueryable
<TSource> Append<TSource>(this
IQueryable
<TSource> source, TSource element)
2450
new Func<
IQueryable
<TSource>, TSource,
IQueryable
<TSource>>(Append).Method,
2455
public static
IQueryable
<TSource> Prepend<TSource>(this
IQueryable
<TSource> source, TSource element)
2462
new Func<
IQueryable
<TSource>, TSource,
IQueryable
<TSource>>(Prepend).Method,
System.ServiceModel.Primitives (1)
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
65
private static Type s_typeOfIQueryableGeneric = typeof(
IQueryable
<>);
TestProject.IntegrationServiceA (1)
Postgres\NpgsqlEFCoreExtensions.cs (1)
17
var
results = dbContext.Database.SqlQueryRaw<int>("SELECT 1");
XmlFormattersWebSite (7)
Controllers\IQueryableController.cs (7)
11
public
IQueryable
<int> ValueTypes()
16
public
IQueryable
<string> NonWrappedTypes()
21
public
IQueryable
<Person> WrappedTypes()
29
public
IQueryable
<Person> WrappedTypes_Empty()
34
public
IQueryable
<string> NonWrappedTypes_Empty()
39
public
IQueryable
<string> NonWrappedTypes_NullInstance()
44
public
IQueryable
<Person> WrappedTypes_NullInstance()