Partilhar via


QueryableMethods Classe

Definição

Uma classe que fornece metadados de reflexão para métodos LINQ traduziveis.

public static class QueryableMethods
type QueryableMethods = class
Public Class QueryableMethods
Herança
QueryableMethods

Comentários

Consulte Implementação de provedores de banco de dados e extensões e Como funcionam as consultas do EF Core para obter mais informações e exemplos.

Propriedades

All

O MethodInfo para All<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

AnyWithoutPredicate

O MethodInfo para Any<TSource>(IQueryable<TSource>)

AnyWithPredicate

O MethodInfo para Any<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

AsQueryable

O MethodInfo para AsQueryable<TElement>(IEnumerable<TElement>)

Cast

O MethodInfo para Cast<TResult>(IQueryable)

Concat

O MethodInfo para Concat<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Contains

O MethodInfo para Contains<TSource>(IQueryable<TSource>, TSource)

CountWithoutPredicate

O MethodInfo para Count<TSource>(IQueryable<TSource>)

CountWithPredicate

O MethodInfo para Count<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

DefaultIfEmptyWithArgument

O MethodInfo para DefaultIfEmpty<TSource>(IQueryable<TSource>, TSource)

DefaultIfEmptyWithoutArgument

O MethodInfo para DefaultIfEmpty<TSource>(IQueryable<TSource>)

Distinct

O MethodInfo para Distinct<TSource>(IQueryable<TSource>)

ElementAt

O MethodInfo para ElementAt<TSource>(IQueryable<TSource>, Int32)

ElementAtOrDefault

O MethodInfo para ElementAtOrDefault<TSource>(IQueryable<TSource>, Int32)

Except

O MethodInfo para Except<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

FirstOrDefaultWithoutPredicate

O MethodInfo para FirstOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

FirstOrDefaultWithPredicate

O MethodInfo para FirstOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

FirstWithoutPredicate

O MethodInfo para First<TSource>(IQueryable<TSource>)

FirstWithPredicate

O MethodInfo para First<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

GroupByWithKeyElementResultSelector

O MethodInfo para GroupBy<TSource,TKey,TElement,TResult>(IQueryable<TSource>, Expression<Func<TSource, TKey>>, Expression<Func<TSource,TElement>>, Expression<Func<TKey, IEnumerable<TElement>,TResult>>)

GroupByWithKeyElementSelector

O MethodInfo para GroupBy<TSource,TKey,TElement>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TSource,TElement>>)

GroupByWithKeyResultSelector

O MethodInfo para GroupBy<TSource,TKey,TResult>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TKey,IEnumerable<TSource>,TResult>>)

GroupByWithKeySelector

O MethodInfo para GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

GroupJoin

O MethodInfo para GroupJoin<TOuter,TInner,TKey,TResult>(IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter,TKey>>, Expression<Func<TInner,TKey>>, Expression<Func<TOuter,IEnumerable<TInner>,TResult>>)

Intersect

O MethodInfo para Intersect<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Join

O MethodInfo para Join<TOuter,TInner,TKey,TResult>(IQueryable<TOuter>, IEnumerable<TInner>, Expression<Func<TOuter,TKey>>, Expression<Func<TInner,TKey>>, Expression<Func<TOuter,TInner,TResult>>)

LastOrDefaultWithoutPredicate

O MethodInfo para LastOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastOrDefaultWithPredicate

O MethodInfo para LastOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastWithoutPredicate

O MethodInfo para Last<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LastWithPredicate

O MethodInfo para Last<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

LongCountWithoutPredicate

O MethodInfo para LongCount<TSource>(IQueryable<TSource>)

LongCountWithPredicate

O MethodInfo para LongCount<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

MaxWithoutSelector

O MethodInfo para Max<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

MaxWithSelector

O MethodInfo para Max<TSource>(IQueryable<TSource>)

MinWithoutSelector

O MethodInfo para Min<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

MinWithSelector

O MethodInfo para Min<TSource>(IQueryable<TSource>)

OfType

O MethodInfo para OfType<TResult>(IQueryable)

OrderBy

O MethodInfo para OrderBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

OrderByDescending

O MethodInfo para OrderByDescending<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>)

Reverse

O MethodInfo para Reverse<TSource>(IQueryable<TSource>)

Select

O MethodInfo para Select<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,TResult>>)

SelectManyWithCollectionSelector

O MethodInfo para SelectMany<TSource,TCollection,TResult>(IQueryable<TSource>, Expression<Func<TSource, IEnumerable<TCollection>>>, Expression<Func<TSource,TCollection, TResult>>)

SelectManyWithoutCollectionSelector

O MethodInfo para SelectMany<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,IEnumerable<TResult>>>)

SingleOrDefaultWithoutPredicate

O MethodInfo para SingleOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleOrDefaultWithPredicate

O MethodInfo para SingleOrDefault<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleWithoutPredicate

O MethodInfo para Single<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

SingleWithPredicate

O MethodInfo para Single<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Skip

O MethodInfo para Skip<TSource>(IQueryable<TSource>, Int32)

SkipWhile

O MethodInfo para SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Take

O MethodInfo para Take<TSource>(IQueryable<TSource>, Int32)

TakeWhile

O MethodInfo para TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

ThenBy

O MethodInfo para ThenBy<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>)

ThenByDescending

O MethodInfo para ThenByDescending<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>)

Union

O MethodInfo para Union<TSource>(IQueryable<TSource>, IEnumerable<TSource>)

Where

O MethodInfo para Where<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Métodos

GetAverageWithoutSelector(Type)

Retorna o MethodInfo para o Queryable.Average método sem um seletor para o tipo especificado.

GetAverageWithSelector(Type)

Retorna o MethodInfo para o Queryable.Average método com um seletor para o tipo fornecido.

GetSumWithoutSelector(Type)

Retorna o MethodInfo para o Queryable.Sum método sem um seletor para o tipo especificado.

GetSumWithSelector(Type)

Retorna o MethodInfo para o Queryable.Sum método com um seletor para o tipo fornecido.

IsAverageWithoutSelector(MethodInfo)

Verifica se o determinado MethodInfo é ou não um dos Queryable.Average sem um seletor.

IsAverageWithSelector(MethodInfo)

Verifica se o determinado MethodInfo é ou não um dos Queryable.Average com um seletor.

IsSumWithoutSelector(MethodInfo)

Verifica se o determinado MethodInfo é ou não um dos Queryable.Sum sem um seletor.

IsSumWithSelector(MethodInfo)

Verifica se o determinado MethodInfo é ou não um dos Queryable.Sum com um seletor.

Aplica-se a