共用方式為


QueryableMethods 類別

定義

類別,提供可轉譯 LINQ 方法的反映中繼資料。

public static class QueryableMethods
type QueryableMethods = class
Public Class QueryableMethods
繼承
QueryableMethods

備註

如需詳細資訊和範例,請參閱 資料庫提供者和延伸模組的實作EF Core 查詢的運作方式

屬性

All

MethodInfoAll<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

AnyWithoutPredicate

MethodInfoAny<TSource>(IQueryable<TSource>)

AnyWithPredicate

MethodInfoAny<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

AsQueryable

MethodInfoAsQueryable<TElement>(IEnumerable<TElement>)

Cast

MethodInfoCast<TResult>(IQueryable)

Concat

MethodInfoConcat<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Contains

MethodInfoContains<TSource>(IQueryable<TSource>, TSource)

CountWithoutPredicate

MethodInfoCount<TSource>(IQueryable<TSource>)

CountWithPredicate

MethodInfoCount<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

DefaultIfEmptyWithArgument

MethodInfoDefaultIfEmpty<TSource>(IQueryable<TSource>, TSource)

DefaultIfEmptyWithoutArgument

MethodInfoDefaultIfEmpty<TSource>(IQueryable<TSource>)

Distinct

MethodInfoDistinct<TSource>(IQueryable<TSource>)

ElementAt

MethodInfoElementAt<TSource>(IQueryable<TSource>, Int32)

ElementAtOrDefault

MethodInfoElementAtOrDefault<TSource>(IQueryable<TSource>, Int32)

Except

MethodInfoExcept<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

FirstOrDefaultWithoutPredicate

MethodInfoFirstOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

FirstOrDefaultWithPredicate

MethodInfoFirstOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

FirstWithoutPredicate

MethodInfoFirst<TSource>(IQueryable<TSource>)

FirstWithPredicate

MethodInfoFirst<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

GroupByWithKeyElementResultSelector

MethodInfoGroupBy<TSource,TKey,TElement,TResult>(IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource,TElement>>, Expression<Func<TKey, IEnumerable<TElement>,TResult>>)

GroupByWithKeyElementSelector

MethodInfoGroupBy<TSource,TKey,TElement>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TSource,TElement>>)

GroupByWithKeyResultSelector

MethodInfoGroupBy<TSource,TKey,TResult>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TKey,IEnumerable<TSource>,TResult>>)

GroupByWithKeySelector

MethodInfoGroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

GroupJoin

MethodInfoGroupJoin<TOuter,TInner,TKey,TResult>(IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter,TKey>>, Expression<Func<TInner,TKey>>, Expression<Func<TOuter,IEnumerable<TInner>,TResult>>)

Intersect

MethodInfoIntersect<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Join

MethodInfoJoin<TOuter,TInner,TKey,TResult>(IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter,TKey>>, Expression<Func<TInner,TKey>>, Expression<Func<TOuter,TInner,TResult>>)

LastOrDefaultWithoutPredicate

MethodInfoLastOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastOrDefaultWithPredicate

MethodInfoLastOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastWithoutPredicate

MethodInfoLast<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastWithPredicate

MethodInfoLast<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LongCountWithoutPredicate

MethodInfoLongCount<TSource>(IQueryable<TSource>)

LongCountWithPredicate

MethodInfoLongCount<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

MaxWithoutSelector

MethodInfoMax<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

MaxWithSelector

MethodInfoMax<TSource>(IQueryable<TSource>)

MinWithoutSelector

MethodInfoMin<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

MinWithSelector

MethodInfoMin<TSource>(IQueryable<TSource>)

OfType

MethodInfoOfType<TResult>(IQueryable)

OrderBy

MethodInfoOrderBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

OrderByDescending

MethodInfoOrderByDescending<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

Reverse

MethodInfoReverse<TSource>(IQueryable<TSource>)

Select

MethodInfoSelect<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

SelectManyWithCollectionSelector

MethodInfoSelectMany<TSource,TCollection,TResult>(IQueryable<TSource>, Expression<Func<TSource, IEnumerable<TCollection>>>, Expression<Func<TSource,TCollection, TResult>>)

SelectManyWithoutCollectionSelector

MethodInfoSelectMany<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,IEnumerable<TResult>>>)

SingleOrDefaultWithoutPredicate

MethodInfoSingleOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleOrDefaultWithPredicate

MethodInfoSingleOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleWithoutPredicate

MethodInfoSingle<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleWithPredicate

MethodInfoSingle<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Skip

MethodInfoSkip<TSource>(IQueryable<TSource>, Int32)

SkipWhile

MethodInfoSkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Take

MethodInfoTake<TSource>(IQueryable<TSource>, Int32)

TakeWhile

MethodInfoTakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

ThenBy

MethodInfoThenBy<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>)

ThenByDescending

MethodInfoThenByDescending<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>)

Union

MethodInfoUnion<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Where

MethodInfoWhere<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

方法

GetAverageWithoutSelector(Type)

傳回 方法的 Queryable.AverageMethodInfo 而沒有指定型別的選取器。

GetAverageWithSelector(Type)

MethodInfoQueryable.Average 傳回具有指定型別之選取器之 方法的 。

GetSumWithoutSelector(Type)

傳回 方法的 Queryable.SumMethodInfo 而沒有指定型別的選取器。

GetSumWithSelector(Type)

MethodInfoQueryable.Sum 傳回具有指定型別之選取器之 方法的 。

IsAverageWithoutSelector(MethodInfo)

檢查指定的 MethodInfo 是否為不含選取器的其中 Queryable.Average 一個 。

IsAverageWithSelector(MethodInfo)

檢查指定的 MethodInfo 是否為具有選取器的其中 Queryable.Average 一個 。

IsSumWithoutSelector(MethodInfo)

檢查指定的 MethodInfo 是否為不含選取器的其中 Queryable.Sum 一個 。

IsSumWithSelector(MethodInfo)

檢查指定的 MethodInfo 是否為具有選取器的其中 Queryable.Sum 一個 。

適用於