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
579 references to IQueryable
Aspire.Dashboard (20)
Components\Controls\Chart\MetricTable.razor.cs (1)
29
private
IQueryable
<MetricViewBase> _metricsView => _metrics.Values.AsEnumerable().Reverse().ToList().AsQueryable();
Components\Controls\PropertyGrid.razor.cs (1)
91
public
IQueryable
<TItem>? Items { get; set; }
Components\Controls\ResourceDetails.razor.cs (7)
37
internal
IQueryable
<EnvironmentVariableViewModel> FilteredEnvironmentVariables =>
42
internal
IQueryable
<DisplayedEndpoint> FilteredEndpoints =>
47
internal
IQueryable
<ResourceDetailRelationship> FilteredRelationships =>
52
internal
IQueryable
<ResourceDetailRelationship> FilteredBackRelationships =>
57
internal
IQueryable
<VolumeViewModel> FilteredVolumes =>
62
internal
IQueryable
<HealthReportViewModel> FilteredHealthReports =>
67
internal
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();
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 (485)
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 (480)
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,
246
public static
IQueryable
<TResult> LeftJoin<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)
257
new Func<
IQueryable
<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner?, TResult>>,
IQueryable
<TResult>>(LeftJoin).Method,
262
public static
IQueryable
<TResult> LeftJoin<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)
273
new Func<
IQueryable
<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter, TInner?, TResult>>, IEqualityComparer<TKey>,
IQueryable
<TResult>>(LeftJoin).Method,
289
/// The <see cref="Order{T}(
IQueryable
{T})"/> method generates a <see cref="MethodCallExpression"/> that represents
302
public static IOrderedQueryable<T> Order<T>(this
IQueryable
<T> source)
309
new Func<
IQueryable
<T>, IOrderedQueryable<T>>(Order).Method,
326
/// The <see cref="Order{T}(
IQueryable
{T})"/> method generates a <see cref="MethodCallExpression"/> that represents
339
public static IOrderedQueryable<T> Order<T>(this
IQueryable
<T> source, IComparer<T> comparer)
346
new Func<
IQueryable
<T>, IComparer<T>, IOrderedQueryable<T>>(Order).Method,
351
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
359
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(OrderBy).Method,
364
public static IOrderedQueryable<TSource> OrderBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
372
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(OrderBy).Method,
388
/// The <see cref="Order{T}(
IQueryable
{T})"/> method generates a <see cref="MethodCallExpression"/> that represents
401
public static IOrderedQueryable<T> OrderDescending<T>(this
IQueryable
<T> source)
408
new Func<
IQueryable
<T>, IOrderedQueryable<T>>(OrderDescending).Method,
425
/// The <see cref="Order{T}(
IQueryable
{T})"/> method generates a <see cref="MethodCallExpression"/> that represents
438
public static IOrderedQueryable<T> OrderDescending<T>(this
IQueryable
<T> source, IComparer<T> comparer)
445
new Func<
IQueryable
<T>, IComparer<T>, IOrderedQueryable<T>>(OrderDescending).Method,
450
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
458
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IOrderedQueryable<TSource>>(OrderByDescending).Method,
463
public static IOrderedQueryable<TSource> OrderByDescending<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
471
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>, IOrderedQueryable<TSource>>(OrderByDescending).Method,
476
public static
IQueryable
<TResult> RightJoin<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)
487
new Func<
IQueryable
<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter?, TInner, TResult>>,
IQueryable
<TResult>>(RightJoin).Method,
492
public static
IQueryable
<TResult> RightJoin<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)
503
new Func<
IQueryable
<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter, TKey>>, Expression<Func<TInner, TKey>>, Expression<Func<TOuter?, TInner, TResult>>, IEqualityComparer<TKey>,
IQueryable
<TResult>>(RightJoin).Method,
560
public static
IQueryable
<TSource> Take<TSource>(this
IQueryable
<TSource> source, int count)
567
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource>>(Take).Method,
576
/// <returns>An <see cref="
IQueryable
{T}" /> that contains the specified <paramref name="range" /> of elements from the <paramref name="source" /> sequence.</returns>
578
public static
IQueryable
<TSource> Take<TSource>(this
IQueryable
<TSource> source, Range range)
585
new Func<
IQueryable
<TSource>, Range,
IQueryable
<TSource>>(Take).Method,
590
public static
IQueryable
<TSource> TakeWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
598
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>,
IQueryable
<TSource>>(TakeWhile).Method,
603
public static
IQueryable
<TSource> TakeWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, bool>> predicate)
611
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int, bool>>,
IQueryable
<TSource>>(TakeWhile).Method,
616
public static
IQueryable
<TSource> Skip<TSource>(this
IQueryable
<TSource> source, int count)
623
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource>>(Skip).Method,
628
public static
IQueryable
<TSource> SkipWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
636
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>,
IQueryable
<TSource>>(SkipWhile).Method,
641
public static
IQueryable
<TSource> SkipWhile<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int, bool>> predicate)
649
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int, bool>>,
IQueryable
<TSource>>(SkipWhile).Method,
654
public static
IQueryable
<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
662
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>,
IQueryable
<IGrouping<TKey, TSource>>>(GroupBy).Method,
667
public static
IQueryable
<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TSource, TElement>> elementSelector)
676
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>,
IQueryable
<IGrouping<TKey, TElement>>>(GroupBy).Method,
681
public static
IQueryable
<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
689
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<IGrouping<TKey, TSource>>>(GroupBy).Method,
694
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)
703
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, IEqualityComparer<TKey>,
IQueryable
<IGrouping<TKey, TElement>>>(GroupBy).Method,
708
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)
718
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, Expression<Func<TKey, IEnumerable<TElement>, TResult>>,
IQueryable
<TResult>>(GroupBy).Method,
723
public static
IQueryable
<TResult> GroupBy<TSource, TKey, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, Expression<Func<TKey, IEnumerable<TSource>, TResult>> resultSelector)
732
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TKey, IEnumerable<TSource>, TResult>>,
IQueryable
<TResult>>(GroupBy).Method,
737
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)
746
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TKey, IEnumerable<TSource>, TResult>>, IEqualityComparer<TKey>,
IQueryable
<TResult>>(GroupBy).Method,
751
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)
761
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource, TElement>>, Expression<Func<TKey, IEnumerable<TElement>, TResult>>, IEqualityComparer<TKey>,
IQueryable
<TResult>>(GroupBy).Method,
766
public static
IQueryable
<TSource> Distinct<TSource>(this
IQueryable
<TSource> source)
773
new Func<
IQueryable
<TSource>,
IQueryable
<TSource>>(Distinct).Method,
778
public static
IQueryable
<TSource> Distinct<TSource>(this
IQueryable
<TSource> source, IEqualityComparer<TSource>? comparer)
785
new Func<
IQueryable
<TSource>, IEqualityComparer<TSource>,
IQueryable
<TSource>>(Distinct).Method,
794
/// <returns>An <see cref="
IQueryable
{T}" /> that contains distinct elements from the source sequence.</returns>
797
public static
IQueryable
<TSource> DistinctBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
805
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>,
IQueryable
<TSource>>(DistinctBy).Method,
815
/// <returns>An <see cref="
IQueryable
{T}" /> that contains distinct elements from the source sequence.</returns>
818
public static
IQueryable
<TSource> DistinctBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
826
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<TSource>>(DistinctBy).Method,
834
/// <returns>An <see cref="
IQueryable
{T}"/> that contains the elements the input sequence split into chunks of size <paramref name="size"/>.</returns>
842
public static
IQueryable
<TSource[]> Chunk<TSource>(this
IQueryable
<TSource> source, int size)
849
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource[]>>(Chunk).Method,
854
public static
IQueryable
<TSource> Concat<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
862
new Func<
IQueryable
<TSource>, IEnumerable<TSource>,
IQueryable
<TSource>>(Concat).Method,
867
public static
IQueryable
<(TFirst First, TSecond Second)> Zip<TFirst, TSecond>(this
IQueryable
<TFirst> source1, IEnumerable<TSecond> source2)
875
new Func<
IQueryable
<TFirst>, IEnumerable<TSecond>,
IQueryable
<(TFirst, TSecond)>>(Zip).Method,
880
public static
IQueryable
<TResult> Zip<TFirst, TSecond, TResult>(this
IQueryable
<TFirst> source1, IEnumerable<TSecond> source2, Expression<Func<TFirst, TSecond, TResult>> resultSelector)
889
new Func<
IQueryable
<TFirst>, IEnumerable<TSecond>, Expression<Func<TFirst, TSecond, TResult>>,
IQueryable
<TResult>>(Zip).Method,
904
public static
IQueryable
<(TFirst First, TSecond Second, TThird Third)> Zip<TFirst, TSecond, TThird>(this
IQueryable
<TFirst> source1, IEnumerable<TSecond> source2, IEnumerable<TThird> source3)
913
new Func<
IQueryable
<TFirst>, IEnumerable<TSecond>, IEnumerable<TThird>,
IQueryable
<(TFirst, TSecond, TThird)>>(Zip).Method,
918
public static
IQueryable
<TSource> Union<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
926
new Func<
IQueryable
<TSource>, IEnumerable<TSource>,
IQueryable
<TSource>>(Union).Method,
931
public static
IQueryable
<TSource> Union<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource>? comparer)
939
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>,
IQueryable
<TSource>>(Union).Method,
948
/// <param name="source1">An <see cref="
IQueryable
{T}" /> whose distinct elements form the first set for the union.</param>
951
/// <returns>An <see cref="
IQueryable
{T}" /> that contains the elements from both input sequences, excluding duplicates.</returns>
954
public static
IQueryable
<TSource> UnionBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, Expression<Func<TSource, TKey>> keySelector)
963
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, Expression<Func<TSource, TKey>>,
IQueryable
<TSource>>(UnionBy).Method,
970
/// <param name="source1">An <see cref="
IQueryable
{T}" /> whose distinct elements form the first set for the union.</param>
974
/// <returns>An <see cref="
IQueryable
{T}" /> that contains the elements from both input sequences, excluding duplicates.</returns>
977
public static
IQueryable
<TSource> UnionBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
986
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<TSource>>(UnionBy).Method,
995
/// <param name="source">An <see cref="
IQueryable
{T}" /> to return an element from.</param>
999
public static
IQueryable
<(int Index, TSource Item)> Index<TSource>(this
IQueryable
<TSource> source)
1006
new Func<
IQueryable
<TSource>,
IQueryable
<(int Index, TSource Item)>>(Index).Method,
1011
public static
IQueryable
<TSource> Intersect<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
1019
new Func<
IQueryable
<TSource>, IEnumerable<TSource>,
IQueryable
<TSource>>(Intersect).Method,
1024
public static
IQueryable
<TSource> Intersect<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource>? comparer)
1032
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>,
IQueryable
<TSource>>(Intersect).Method,
1041
/// <param name="source1">An <see cref="
IQueryable
{T}" /> whose distinct elements that also appear in <paramref name="source2" /> will be returned.</param>
1047
public static
IQueryable
<TSource> IntersectBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TKey> source2, Expression<Func<TSource, TKey>> keySelector)
1056
new Func<
IQueryable
<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>,
IQueryable
<TSource>>(IntersectBy).Method,
1065
/// <param name="source1">An <see cref="
IQueryable
{T}" /> whose distinct elements that also appear in <paramref name="source2" /> will be returned.</param>
1072
public static
IQueryable
<TSource> IntersectBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TKey> source2, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1081
new Func<
IQueryable
<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<TSource>>(IntersectBy).Method,
1089
public static
IQueryable
<TSource> Except<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
1097
new Func<
IQueryable
<TSource>, IEnumerable<TSource>,
IQueryable
<TSource>>(Except).Method,
1102
public static
IQueryable
<TSource> Except<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource>? comparer)
1110
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>,
IQueryable
<TSource>>(Except).Method,
1121
/// <param name="source1">An <see cref="
IQueryable
{TSource}" /> whose keys that are not also in <paramref name="source2"/> will be returned.</param>
1124
/// <returns>A <see cref="
IQueryable
{TSource}" /> that contains the set difference of the elements of two sequences.</returns>
1126
public static
IQueryable
<TSource> ExceptBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TKey> source2, Expression<Func<TSource, TKey>> keySelector)
1135
new Func<
IQueryable
<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>,
IQueryable
<TSource>>(ExceptBy).Method,
1146
/// <param name="source1">An <see cref="
IQueryable
{TSource}" /> whose keys that are not also in <paramref name="source2"/> will be returned.</param>
1150
/// <returns>A <see cref="
IQueryable
{TSource}" /> that contains the set difference of the elements of two sequences.</returns>
1152
public static
IQueryable
<TSource> ExceptBy<TSource, TKey>(this
IQueryable
<TSource> source1, IEnumerable<TKey> source2, Expression<Func<TSource, TKey>> keySelector, IEqualityComparer<TKey>? comparer)
1161
new Func<
IQueryable
<TSource>, IEnumerable<TKey>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<TSource>>(ExceptBy).Method,
1169
public static TSource First<TSource>(this
IQueryable
<TSource> source)
1176
new Func<
IQueryable
<TSource>, TSource>(First).Method,
1181
public static TSource First<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1189
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource>(First).Method,
1194
public static TSource? FirstOrDefault<TSource>(this
IQueryable
<TSource> source)
1201
new Func<
IQueryable
<TSource>, TSource?>(FirstOrDefault).Method,
1212
public static TSource FirstOrDefault<TSource>(this
IQueryable
<TSource> source, TSource defaultValue)
1219
new Func<
IQueryable
<TSource>, TSource, TSource>(FirstOrDefault).Method,
1224
public static TSource? FirstOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1232
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource?>(FirstOrDefault).Method,
1244
public static TSource FirstOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate, TSource defaultValue)
1252
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(FirstOrDefault).Method,
1257
public static TSource Last<TSource>(this
IQueryable
<TSource> source)
1264
new Func<
IQueryable
<TSource>, TSource>(Last).Method,
1269
public static TSource Last<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1277
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource>(Last).Method,
1282
public static TSource? LastOrDefault<TSource>(this
IQueryable
<TSource> source)
1289
new Func<
IQueryable
<TSource>, TSource?>(LastOrDefault).Method,
1300
public static TSource LastOrDefault<TSource>(this
IQueryable
<TSource> source, TSource defaultValue)
1307
new Func<
IQueryable
<TSource>, TSource, TSource>(LastOrDefault).Method,
1312
public static TSource? LastOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1320
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource?>(LastOrDefault).Method,
1332
public static TSource LastOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate, TSource defaultValue)
1340
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(LastOrDefault).Method,
1346
public static TSource Single<TSource>(this
IQueryable
<TSource> source)
1353
new Func<
IQueryable
<TSource>, TSource>(Single).Method,
1358
public static TSource Single<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1366
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource>(Single).Method,
1371
public static TSource? SingleOrDefault<TSource>(this
IQueryable
<TSource> source)
1378
new Func<
IQueryable
<TSource>, TSource?>(SingleOrDefault).Method,
1390
public static TSource SingleOrDefault<TSource>(this
IQueryable
<TSource> source, TSource defaultValue)
1397
new Func<
IQueryable
<TSource>, TSource, TSource>(SingleOrDefault).Method,
1402
public static TSource? SingleOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1410
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource?>(SingleOrDefault).Method,
1423
public static TSource SingleOrDefault<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate, TSource defaultValue)
1431
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, TSource, TSource>(SingleOrDefault).Method,
1436
public static TSource ElementAt<TSource>(this
IQueryable
<TSource> source, int index)
1446
new Func<
IQueryable
<TSource>, int, TSource>(ElementAt).Method,
1452
/// <param name="source">An <see cref="
IQueryable
{T}" /> to return an element from.</param>
1458
public static TSource ElementAt<TSource>(this
IQueryable
<TSource> source, Index index)
1468
new Func<
IQueryable
<TSource>, Index, TSource>(ElementAt).Method,
1473
public static TSource? ElementAtOrDefault<TSource>(this
IQueryable
<TSource> source, int index)
1480
new Func<
IQueryable
<TSource>, int, TSource?>(ElementAtOrDefault).Method,
1486
/// <param name="source">An <see cref="
IQueryable
{T}" /> to return an element from.</param>
1491
public static TSource? ElementAtOrDefault<TSource>(this
IQueryable
<TSource> source, Index index)
1498
new Func<
IQueryable
<TSource>, Index, TSource?>(ElementAtOrDefault).Method,
1503
public static
IQueryable
<TSource?> DefaultIfEmpty<TSource>(this
IQueryable
<TSource> source)
1510
new Func<
IQueryable
<TSource>,
IQueryable
<TSource?>>(DefaultIfEmpty).Method,
1515
public static
IQueryable
<TSource> DefaultIfEmpty<TSource>(this
IQueryable
<TSource> source, TSource defaultValue)
1522
new Func<
IQueryable
<TSource>, TSource,
IQueryable
<TSource?>>(DefaultIfEmpty).Method,
1527
public static bool Contains<TSource>(this
IQueryable
<TSource> source, TSource item)
1534
new Func<
IQueryable
<TSource>, TSource, bool>(Contains).Method,
1539
public static bool Contains<TSource>(this
IQueryable
<TSource> source, TSource item, IEqualityComparer<TSource>? comparer)
1546
new Func<
IQueryable
<TSource>, TSource, IEqualityComparer<TSource>, bool>(Contains).Method,
1551
public static
IQueryable
<TSource> Reverse<TSource>(this
IQueryable
<TSource> source)
1558
new Func<
IQueryable
<TSource>,
IQueryable
<TSource>>(Reverse).Method,
1563
public static bool SequenceEqual<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2)
1571
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, bool>(SequenceEqual).Method,
1576
public static bool SequenceEqual<TSource>(this
IQueryable
<TSource> source1, IEnumerable<TSource> source2, IEqualityComparer<TSource>? comparer)
1584
new Func<
IQueryable
<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>, bool>(SequenceEqual).Method,
1591
public static bool Any<TSource>(this
IQueryable
<TSource> source)
1598
new Func<
IQueryable
<TSource>, bool>(Any).Method,
1603
public static bool Any<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1611
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, bool>(Any).Method,
1616
public static bool All<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1624
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, bool>(All).Method,
1629
public static int Count<TSource>(this
IQueryable
<TSource> source)
1636
new Func<
IQueryable
<TSource>, int>(Count).Method,
1641
public static int Count<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1649
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, int>(Count).Method,
1659
/// <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>
1662
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
1670
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IEqualityComparer<TKey>,
IQueryable
<KeyValuePair<TKey, int>>>(CountBy).Method,
1675
public static long LongCount<TSource>(this
IQueryable
<TSource> source)
1682
new Func<
IQueryable
<TSource>, long>(LongCount).Method,
1687
public static long LongCount<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, bool>> predicate)
1695
new Func<
IQueryable
<TSource>, Expression<Func<TSource, bool>>, long>(LongCount).Method,
1700
public static TSource? Min<TSource>(this
IQueryable
<TSource> source)
1707
new Func<
IQueryable
<TSource>, TSource?>(Min).Method,
1711
/// <summary>Returns the minimum value in a generic <see cref="System.Linq.
IQueryable
{T}" />.</summary>
1719
public static TSource? Min<TSource>(this
IQueryable
<TSource> source, IComparer<TSource>? comparer)
1726
new Func<
IQueryable
<TSource>, IComparer<TSource>, TSource?>(Min).Method,
1732
public static TResult? Min<TSource, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TResult>> selector)
1740
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TResult>>, TResult?>(Min).Method,
1744
/// <summary>Returns the minimum value in a generic <see cref="
IQueryable
{T}"/> according to a specified key selector function.</summary>
1753
public static TSource? MinBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
1761
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, TSource?>(MinBy).Method,
1766
/// <summary>Returns the minimum value in a generic <see cref="
IQueryable
{T}"/> according to a specified key selector function.</summary>
1776
public static TSource? MinBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TSource>? comparer)
1784
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TSource>, TSource?>(MinBy).Method,
1791
public static TSource? Max<TSource>(this
IQueryable
<TSource> source)
1798
new Func<
IQueryable
<TSource>, TSource?>(Max).Method,
1802
/// <summary>Returns the maximum value in a generic <see cref="System.Linq.
IQueryable
{T}" />.</summary>
1809
public static TSource? Max<TSource>(this
IQueryable
<TSource> source, IComparer<TSource>? comparer)
1816
new Func<
IQueryable
<TSource>, IComparer<TSource>, TSource?>(Max).Method,
1822
public static TResult? Max<TSource, TResult>(this
IQueryable
<TSource> source, Expression<Func<TSource, TResult>> selector)
1830
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TResult>>, TResult?>(Max).Method,
1834
/// <summary>Returns the maximum value in a generic <see cref="
IQueryable
{T}"/> according to a specified key selector function.</summary>
1843
public static TSource? MaxBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
1851
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, TSource?>(MaxBy).Method,
1856
/// <summary>Returns the maximum value in a generic <see cref="
IQueryable
{T}"/> according to a specified key selector function.</summary>
1866
public static TSource? MaxBy<TSource, TKey>(this
IQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TSource>? comparer)
1874
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TSource>, TSource?>(MaxBy).Method,
1881
public static int Sum(this
IQueryable
<int> source)
1888
new Func<
IQueryable
<int>, int>(Sum).Method,
1893
public static int? Sum(this
IQueryable
<int?> source)
1900
new Func<
IQueryable
<int?>, int?>(Sum).Method,
1905
public static long Sum(this
IQueryable
<long> source)
1912
new Func<
IQueryable
<long>, long>(Sum).Method,
1917
public static long? Sum(this
IQueryable
<long?> source)
1924
new Func<
IQueryable
<long?>, long?>(Sum).Method,
1929
public static float Sum(this
IQueryable
<float> source)
1936
new Func<
IQueryable
<float>, float>(Sum).Method,
1941
public static float? Sum(this
IQueryable
<float?> source)
1948
new Func<
IQueryable
<float?>, float?>(Sum).Method,
1953
public static double Sum(this
IQueryable
<double> source)
1960
new Func<
IQueryable
<double>, double>(Sum).Method,
1965
public static double? Sum(this
IQueryable
<double?> source)
1972
new Func<
IQueryable
<double?>, double?>(Sum).Method,
1977
public static decimal Sum(this
IQueryable
<decimal> source)
1984
new Func<
IQueryable
<decimal>, decimal>(Sum).Method,
1989
public static decimal? Sum(this
IQueryable
<decimal?> source)
1996
new Func<
IQueryable
<decimal?>, decimal?>(Sum).Method,
2001
public static int Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int>> selector)
2009
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int>>, int>(Sum).Method,
2014
public static int? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int?>> selector)
2022
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int?>>, int?>(Sum).Method,
2027
public static long Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, long>> selector)
2035
new Func<
IQueryable
<TSource>, Expression<Func<TSource, long>>, long>(Sum).Method,
2040
public static long? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, long?>> selector)
2048
new Func<
IQueryable
<TSource>, Expression<Func<TSource, long?>>, long?>(Sum).Method,
2053
public static float Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float>> selector)
2061
new Func<
IQueryable
<TSource>, Expression<Func<TSource, float>>, float>(Sum).Method,
2066
public static float? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float?>> selector)
2074
new Func<
IQueryable
<TSource>, Expression<Func<TSource, float?>>, float?>(Sum).Method,
2079
public static double Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, double>> selector)
2087
new Func<
IQueryable
<TSource>, Expression<Func<TSource, double>>, double>(Sum).Method,
2092
public static double? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, double?>> selector)
2100
new Func<
IQueryable
<TSource>, Expression<Func<TSource, double?>>, double?>(Sum).Method,
2105
public static decimal Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, decimal>> selector)
2113
new Func<
IQueryable
<TSource>, Expression<Func<TSource, decimal>>, decimal>(Sum).Method,
2118
public static decimal? Sum<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, decimal?>> selector)
2126
new Func<
IQueryable
<TSource>, Expression<Func<TSource, decimal?>>, decimal?>(Sum).Method,
2131
public static double Average(this
IQueryable
<int> source)
2138
new Func<
IQueryable
<int>, double>(Average).Method,
2143
public static double? Average(this
IQueryable
<int?> source)
2150
new Func<
IQueryable
<int?>, double?>(Average).Method,
2155
public static double Average(this
IQueryable
<long> source)
2162
new Func<
IQueryable
<long>, double>(Average).Method,
2167
public static double? Average(this
IQueryable
<long?> source)
2174
new Func<
IQueryable
<long?>, double?>(Average).Method,
2179
public static float Average(this
IQueryable
<float> source)
2186
new Func<
IQueryable
<float>, float>(Average).Method,
2191
public static float? Average(this
IQueryable
<float?> source)
2198
new Func<
IQueryable
<float?>, float?>(Average).Method,
2203
public static double Average(this
IQueryable
<double> source)
2210
new Func<
IQueryable
<double>, double>(Average).Method,
2215
public static double? Average(this
IQueryable
<double?> source)
2222
new Func<
IQueryable
<double?>, double?>(Average).Method,
2227
public static decimal Average(this
IQueryable
<decimal> source)
2234
new Func<
IQueryable
<decimal>, decimal>(Average).Method,
2239
public static decimal? Average(this
IQueryable
<decimal?> source)
2246
new Func<
IQueryable
<decimal?>, decimal?>(Average).Method,
2251
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int>> selector)
2259
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int>>, double>(Average).Method,
2264
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, int?>> selector)
2272
new Func<
IQueryable
<TSource>, Expression<Func<TSource, int?>>, double?>(Average).Method,
2277
public static float Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float>> selector)
2285
new Func<
IQueryable
<TSource>, Expression<Func<TSource, float>>, float>(Average).Method,
2290
public static float? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, float?>> selector)
2298
new Func<
IQueryable
<TSource>, Expression<Func<TSource, float?>>, float?>(Average).Method,
2303
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, long>> selector)
2311
new Func<
IQueryable
<TSource>, Expression<Func<TSource, long>>, double>(Average).Method,
2316
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, long?>> selector)
2324
new Func<
IQueryable
<TSource>, Expression<Func<TSource, long?>>, double?>(Average).Method,
2329
public static double Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, double>> selector)
2337
new Func<
IQueryable
<TSource>, Expression<Func<TSource, double>>, double>(Average).Method,
2342
public static double? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, double?>> selector)
2350
new Func<
IQueryable
<TSource>, Expression<Func<TSource, double?>>, double?>(Average).Method,
2355
public static decimal Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, decimal>> selector)
2363
new Func<
IQueryable
<TSource>, Expression<Func<TSource, decimal>>, decimal>(Average).Method,
2368
public static decimal? Average<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, decimal?>> selector)
2376
new Func<
IQueryable
<TSource>, Expression<Func<TSource, decimal?>>, decimal?>(Average).Method,
2381
public static TSource Aggregate<TSource>(this
IQueryable
<TSource> source, Expression<Func<TSource, TSource, TSource>> func)
2389
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TSource, TSource>>, TSource>(Aggregate).Method,
2394
public static TAccumulate Aggregate<TSource, TAccumulate>(this
IQueryable
<TSource> source, TAccumulate seed, Expression<Func<TAccumulate, TSource, TAccumulate>> func)
2402
new Func<
IQueryable
<TSource>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, TAccumulate>(Aggregate).Method,
2407
public static TResult Aggregate<TSource, TAccumulate, TResult>(this
IQueryable
<TSource> source, TAccumulate seed, Expression<Func<TAccumulate, TSource, TAccumulate>> func, Expression<Func<TAccumulate, TResult>> selector)
2416
new Func<
IQueryable
<TSource>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, Expression<Func<TAccumulate, TResult>>, TResult>(Aggregate).Method,
2426
/// <param name="source">An <see cref="
IQueryable
{T}"/> to aggregate over.</param>
2433
/// This method is comparable to the <see cref="GroupBy{TSource, TKey}(
IQueryable
{TSource}, Expression{Func{TSource, TKey}})"/> methods
2437
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
2446
new Func<
IQueryable
<TSource>, Expression<Func<TSource, TKey>>, TAccumulate, Expression<Func<TAccumulate, TSource, TAccumulate>>, IEqualityComparer<TKey>,
IQueryable
<KeyValuePair<TKey, TAccumulate>>>(AggregateBy).Method,
2456
/// <param name="source">An <see cref="
IQueryable
{T}"/> to aggregate over.</param>
2463
/// This method is comparable to the <see cref="GroupBy{TSource, TKey}(
IQueryable
{TSource}, Expression{Func{TSource, TKey}})"/> methods
2467
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
2477
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,
2482
public static
IQueryable
<TSource> SkipLast<TSource>(this
IQueryable
<TSource> source, int count)
2489
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource>>(SkipLast).Method,
2495
public static
IQueryable
<TSource> TakeLast<TSource>(this
IQueryable
<TSource> source, int count)
2502
new Func<
IQueryable
<TSource>, int,
IQueryable
<TSource>>(TakeLast).Method,
2507
public static
IQueryable
<TSource> Append<TSource>(this
IQueryable
<TSource> source, TSource element)
2514
new Func<
IQueryable
<TSource>, TSource,
IQueryable
<TSource>>(Append).Method,
2519
public static
IQueryable
<TSource> Prepend<TSource>(this
IQueryable
<TSource> source, TSource element)
2526
new Func<
IQueryable
<TSource>, TSource,
IQueryable
<TSource>>(Prepend).Method,
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()