Sdílet prostřednictvím


QueryableMethods Třída

Definice

Třída, která poskytuje metadata reflexe pro přeložitelné metody LINQ.

public static class QueryableMethods
type QueryableMethods = class
Public Class QueryableMethods
Dědičnost
QueryableMethods

Poznámky

Další informace a příklady najdete v tématu Implementace zprostředkovatelů a rozšíření databází aJak fungují dotazy EF Core .

Vlastnosti

All

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

AnyWithoutPredicate

Pro MethodInfoAny<TSource>(IQueryable<TSource>)

AnyWithPredicate

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

AsQueryable

Pro MethodInfoAsQueryable<TElement>(IEnumerable<TElement>)

Cast

Pro MethodInfoCast<TResult>(IQueryable)

Concat

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

Contains

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

CountWithoutPredicate

Pro MethodInfoCount<TSource>(IQueryable<TSource>)

CountWithPredicate

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

DefaultIfEmptyWithArgument

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

DefaultIfEmptyWithoutArgument

Pro MethodInfoDefaultIfEmpty<TSource>(IQueryable<TSource>)

Distinct

Pro MethodInfoDistinct<TSource>(IQueryable<TSource>)

ElementAt

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

ElementAtOrDefault

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

Except

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

FirstOrDefaultWithoutPredicate

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

FirstOrDefaultWithPredicate

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

FirstWithoutPredicate

Pro MethodInfoFirst<TSource>(IQueryable<TSource>)

FirstWithPredicate

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

GroupByWithKeyElementResultSelector

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

GroupByWithKeyElementSelector

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

GroupByWithKeyResultSelector

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

GroupByWithKeySelector

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

GroupJoin

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

Intersect

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

Join

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

LastOrDefaultWithoutPredicate

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

LastOrDefaultWithPredicate

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

LastWithoutPredicate

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

LastWithPredicate

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

LongCountWithoutPredicate

Pro MethodInfoLongCount<TSource>(IQueryable<TSource>)

LongCountWithPredicate

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

MaxWithoutSelector

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

MaxWithSelector

Pro MethodInfoMax<TSource>(IQueryable<TSource>)

MinWithoutSelector

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

MinWithSelector

Pro MethodInfoMin<TSource>(IQueryable<TSource>)

OfType

Pro MethodInfoOfType<TResult>(IQueryable)

OrderBy

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

OrderByDescending

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

Reverse

Pro MethodInfoReverse<TSource>(IQueryable<TSource>)

Select

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

SelectManyWithCollectionSelector

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

SelectManyWithoutCollectionSelector

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

SingleOrDefaultWithoutPredicate

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

SingleOrDefaultWithPredicate

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

SingleWithoutPredicate

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

SingleWithPredicate

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

Skip

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

SkipWhile

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

Take

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

TakeWhile

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

ThenBy

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

ThenByDescending

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

Union

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

Where

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

Metody

GetAverageWithoutSelector(Type)

Vrátí hodnotu MethodInfo pro metodu Queryable.Average bez selektoru pro daný typ.

GetAverageWithSelector(Type)

Vrátí hodnotu MethodInfo pro metodu Queryable.Average s selektorem pro daný typ.

GetSumWithoutSelector(Type)

Vrátí hodnotu MethodInfo pro metodu Queryable.Sum bez selektoru pro daný typ.

GetSumWithSelector(Type)

Vrátí hodnotu MethodInfo pro metodu Queryable.Sum s selektorem pro daný typ.

IsAverageWithoutSelector(MethodInfo)

Zkontroluje, jestli daná MethodInfo položka patří mezi selektory bez Queryable.Average .

IsAverageWithSelector(MethodInfo)

Zkontroluje, jestli MethodInfo daná položka patří mezi Queryable.Average selektory.

IsSumWithoutSelector(MethodInfo)

Zkontroluje, jestli daná MethodInfo položka patří mezi selektory bez Queryable.Sum .

IsSumWithSelector(MethodInfo)

Zkontroluje, jestli MethodInfo daná položka patří mezi Queryable.Sum selektory.

Platí pro