Queryable Queryable Queryable Queryable Class

Definição

Fornece um conjunto de métodos static (Shared no Visual Basic) para consultar estruturas de dados que implementam IQueryable<T>.Provides a set of static (Shared in Visual Basic) methods for querying data structures that implement IQueryable<T>.

public ref class Queryable abstract sealed
public static class Queryable
type Queryable = class
Public Module Queryable
Herança
QueryableQueryableQueryableQueryable

Comentários

O conjunto de métodos declarados na Queryable classe fornece uma implementação de operadores de consulta padrão para consultar dados de fontes que implementam IQueryable<T>.The set of methods declared in the Queryable class provides an implementation of the standard query operators for querying data sources that implement IQueryable<T>. Operadores de consulta padrão são os métodos de finalidade geral que seguem o LINQLINQ padrão e lhe permitem expressar operações de passagem, filtro e projeção sobre dados em qualquer um. Linguagem de programação baseado em NET.The standard query operators are general purpose methods that follow the LINQLINQ pattern and enable you to express traversal, filter, and projection operations over data in any .NET-based programming language.

A maioria dos métodos nessa classe são definidos como métodos de extensão que estendem o IQueryable<T> tipo.The majority of the methods in this class are defined as extension methods that extend the IQueryable<T> type. Isso significa que eles podem ser chamados como um método de instância em qualquer objeto que implementa IQueryable<T>.This means they can be called like an instance method on any object that implements IQueryable<T>. Esses métodos que estendem IQueryable<T> não executam qualquer consulta direta.These methods that extend IQueryable<T> do not perform any querying directly. Em vez disso, sua funcionalidade é criar um Expression objeto, que é uma árvore de expressão que representa a consulta cumulativa.Instead, their functionality is to build an Expression object, which is an expression tree that represents the cumulative query. Os métodos, em seguida, passam a nova árvore de expressão para qualquer um de Execute<TResult>(Expression) método ou o CreateQuery<TElement>(Expression) método de entrada IQueryable<T>.The methods then pass the new expression tree to either the Execute<TResult>(Expression) method or the CreateQuery<TElement>(Expression) method of the input IQueryable<T>. O método que é chamado depende se o Queryable método retorna um valor de singleton, caso em que Execute<TResult>(Expression) é chamado ou tem resultados enumeráveis, caso em que CreateQuery<TElement>(Expression) é chamado.The method that is called depends on whether the Queryable method returns a singleton value, in which case Execute<TResult>(Expression) is called, or has enumerable results, in which case CreateQuery<TElement>(Expression) is called.

A execução de consulta real nos dados de destino é realizada por uma classe que implementa IQueryable<T>.The actual query execution on the target data is performed by a class that implements IQueryable<T>. A expectativa de qualquer IQueryable<T> implementação é que o resultado da execução de uma árvore de expressão que foi criada por um Queryable método de operador de consulta padrão é equivalente ao resultado de chamar o método correspondente no Enumerable classe, se a fonte de dados fosse uma IEnumerable<T>.The expectation of any IQueryable<T> implementation is that the result of executing an expression tree that was constructed by a Queryable standard query operator method is equivalent to the result of calling the corresponding method in the Enumerable class, if the data source were an IEnumerable<T>.

Além dos métodos de operador de consulta padrão que operam em IQueryable<T> objetos, essa classe também contém um método AsQueryable, que tipos IEnumerable objetos como IQueryable objetos.In addition to the standard query operator methods that operate on IQueryable<T> objects, this class also contains a method, AsQueryable, which types IEnumerable objects as IQueryable objects.

Métodos

Aggregate<TSource,TAccumulate,TResult>(IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate,TSource,TAccumulate>>, Expression<Func<TAccumulate,TResult>>) Aggregate<TSource,TAccumulate,TResult>(IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate,TSource,TAccumulate>>, Expression<Func<TAccumulate,TResult>>) Aggregate<TSource,TAccumulate,TResult>(IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate,TSource,TAccumulate>>, Expression<Func<TAccumulate,TResult>>) Aggregate<TSource,TAccumulate,TResult>(IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate,TSource,TAccumulate>>, Expression<Func<TAccumulate,TResult>>)

Aplica uma função de acumulador a uma sequência.Applies an accumulator function over a sequence. O valor de semente especificado é usado como o valor inicial do acumulador e a função especificada é usada para selecionar o valor do resultado.The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.

Aggregate<TSource,TAccumulate>(IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate,TSource,TAccumulate>>) Aggregate<TSource,TAccumulate>(IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate,TSource,TAccumulate>>) Aggregate<TSource,TAccumulate>(IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate,TSource,TAccumulate>>) Aggregate<TSource,TAccumulate>(IQueryable<TSource>, TAccumulate, Expression<Func<TAccumulate,TSource,TAccumulate>>)

Aplica uma função de acumulador a uma sequência.Applies an accumulator function over a sequence. O valor de semente especificado é usado como o valor inicial do acumulador.The specified seed value is used as the initial accumulator value.

Aggregate<TSource>(IQueryable<TSource>, Expression<Func<TSource,TSource,TSource>>) Aggregate<TSource>(IQueryable<TSource>, Expression<Func<TSource,TSource,TSource>>) Aggregate<TSource>(IQueryable<TSource>, Expression<Func<TSource,TSource,TSource>>) Aggregate<TSource>(IQueryable<TSource>, Expression<Func<TSource,TSource,TSource>>)

Aplica uma função de acumulador a uma sequência.Applies an accumulator function over a sequence.

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

Determina se todos os elementos de uma sequência atendem a uma condição.Determines whether all the elements of a sequence satisfy a condition.

Any<TSource>(IQueryable<TSource>) Any<TSource>(IQueryable<TSource>) Any<TSource>(IQueryable<TSource>) Any<TSource>(IQueryable<TSource>)

Determina se uma sequência contém elementos.Determines whether a sequence contains any elements.

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

Determina se algum elemento de uma sequência atende a uma condição.Determines whether any element of a sequence satisfies a condition.

Append<TSource>(IQueryable<TSource>, TSource) Append<TSource>(IQueryable<TSource>, TSource) Append<TSource>(IQueryable<TSource>, TSource) Append<TSource>(IQueryable<TSource>, TSource)
AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converte um IEnumerable em um IQueryable.Converts an IEnumerable to an IQueryable.

AsQueryable<TElement>(IEnumerable<TElement>) AsQueryable<TElement>(IEnumerable<TElement>) AsQueryable<TElement>(IEnumerable<TElement>) AsQueryable<TElement>(IEnumerable<TElement>)

Converte um IEnumerable<T> genérico em um IQueryable<T> genérico.Converts a generic IEnumerable<T> to a generic IQueryable<T>.

Average(IQueryable<Single>) Average(IQueryable<Single>) Average(IQueryable<Single>) Average(IQueryable<Single>)

Computa a média de uma sequência de valores Single.Computes the average of a sequence of Single values.

Average(IQueryable<Nullable<Single>>) Average(IQueryable<Nullable<Single>>) Average(IQueryable<Nullable<Single>>) Average(IQueryable<Nullable<Single>>)

Computa a média de uma sequência de valores Single que permitem valores nulos.Computes the average of a sequence of nullable Single values.

Average(IQueryable<Nullable<Int64>>) Average(IQueryable<Nullable<Int64>>) Average(IQueryable<Nullable<Int64>>) Average(IQueryable<Nullable<Int64>>)

Computa a média de uma sequência de valores Int64 que permitem valores nulos.Computes the average of a sequence of nullable Int64 values.

Average(IQueryable<Nullable<Double>>) Average(IQueryable<Nullable<Double>>) Average(IQueryable<Nullable<Double>>) Average(IQueryable<Nullable<Double>>)

Computa a média de uma sequência de valores Double que permitem valores nulos.Computes the average of a sequence of nullable Double values.

Average(IQueryable<Nullable<Int32>>) Average(IQueryable<Nullable<Int32>>) Average(IQueryable<Nullable<Int32>>) Average(IQueryable<Nullable<Int32>>)

Computa a média de uma sequência de valores Int32 que permitem valores nulos.Computes the average of a sequence of nullable Int32 values.

Average(IQueryable<Int64>) Average(IQueryable<Int64>) Average(IQueryable<Int64>) Average(IQueryable<Int64>)

Computa a média de uma sequência de valores Int64.Computes the average of a sequence of Int64 values.

Average(IQueryable<Int32>) Average(IQueryable<Int32>) Average(IQueryable<Int32>) Average(IQueryable<Int32>)

Computa a média de uma sequência de valores Int32.Computes the average of a sequence of Int32 values.

Average(IQueryable<Double>) Average(IQueryable<Double>) Average(IQueryable<Double>) Average(IQueryable<Double>)

Computa a média de uma sequência de valores Double.Computes the average of a sequence of Double values.

Average(IQueryable<Decimal>) Average(IQueryable<Decimal>) Average(IQueryable<Decimal>) Average(IQueryable<Decimal>)

Computa a média de uma sequência de valores Decimal.Computes the average of a sequence of Decimal values.

Average(IQueryable<Nullable<Decimal>>) Average(IQueryable<Nullable<Decimal>>) Average(IQueryable<Nullable<Decimal>>) Average(IQueryable<Nullable<Decimal>>)

Computa a média de uma sequência de valores Decimal que permitem valores nulos.Computes the average of a sequence of nullable Decimal values.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>)

Calcula a média de uma sequência de valores Single obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of Single values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>)

Calcula a média de uma sequência de valores Single anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>)

Calcula a média de uma sequência de valores Int64 anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>)

Calcula a média de uma sequência de valores Int32 anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>)

Calcula a média de uma sequência de valores Double anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>)

Calcula a média de uma sequência de valores Int64 obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>)

Calcula a média de uma sequência de valores Int32 obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>)

Calcula a média de uma sequência de valores Double obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of Double values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>)

Calcula a média de uma sequência de valores Decimal obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence.

Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>) Average<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>)

Calcula a média de uma sequência de valores Decimal anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the average of a sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence.

Cast<TResult>(IQueryable) Cast<TResult>(IQueryable) Cast<TResult>(IQueryable) Cast<TResult>(IQueryable)

Converte os elementos de um IQueryable para o tipo especificado.Converts the elements of an IQueryable to the specified type.

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

Concatena duas sequências.Concatenates two sequences.

Contains<TSource>(IQueryable<TSource>, TSource, IEqualityComparer<TSource>) Contains<TSource>(IQueryable<TSource>, TSource, IEqualityComparer<TSource>) Contains<TSource>(IQueryable<TSource>, TSource, IEqualityComparer<TSource>) Contains<TSource>(IQueryable<TSource>, TSource, IEqualityComparer<TSource>)

Determina se uma sequência contém um elemento especificado usando um IEqualityComparer<T> especificado.Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>.

Contains<TSource>(IQueryable<TSource>, TSource) Contains<TSource>(IQueryable<TSource>, TSource) Contains<TSource>(IQueryable<TSource>, TSource) Contains<TSource>(IQueryable<TSource>, TSource)

Determina se uma sequência contém um elemento especificado usando o comparador de igualdade padrão.Determines whether a sequence contains a specified element by using the default equality comparer.

Count<TSource>(IQueryable<TSource>) Count<TSource>(IQueryable<TSource>) Count<TSource>(IQueryable<TSource>) Count<TSource>(IQueryable<TSource>)

Retorna o número de elementos em uma sequência.Returns the number of elements in a sequence.

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

Retorna o número de elementos na sequência especificada que atendem a uma condição.Returns the number of elements in the specified sequence that satisfies a condition.

DefaultIfEmpty<TSource>(IQueryable<TSource>) DefaultIfEmpty<TSource>(IQueryable<TSource>) DefaultIfEmpty<TSource>(IQueryable<TSource>) DefaultIfEmpty<TSource>(IQueryable<TSource>)

Retornará os elementos da sequência especificada ou o valor padrão do parâmetro de tipo em uma coleção de singletons se a sequência estiver vazia.Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty.

DefaultIfEmpty<TSource>(IQueryable<TSource>, TSource) DefaultIfEmpty<TSource>(IQueryable<TSource>, TSource) DefaultIfEmpty<TSource>(IQueryable<TSource>, TSource) DefaultIfEmpty<TSource>(IQueryable<TSource>, TSource)

Retorna os elementos da sequência especificada ou o valor especificado em uma coleção de singletons se a sequência está vazia.Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty.

Distinct<TSource>(IQueryable<TSource>) Distinct<TSource>(IQueryable<TSource>) Distinct<TSource>(IQueryable<TSource>) Distinct<TSource>(IQueryable<TSource>)

Retorna os elementos distintos de uma sequência usando o comparador de igualdade padrão para comparar valores.Returns distinct elements from a sequence by using the default equality comparer to compare values.

Distinct<TSource>(IQueryable<TSource>, IEqualityComparer<TSource>) Distinct<TSource>(IQueryable<TSource>, IEqualityComparer<TSource>) Distinct<TSource>(IQueryable<TSource>, IEqualityComparer<TSource>) Distinct<TSource>(IQueryable<TSource>, IEqualityComparer<TSource>)

Retorna os elementos distintos de uma sequência usando um IEqualityComparer<T> especificado para comparar valores.Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values.

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

Retorna o elemento de um índice especificado em uma sequência.Returns the element at a specified index in a sequence.

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

Retorna o elemento em um índice especificado em uma sequência ou um valor padrão se o índice estiver fora do intervalo.Returns the element at a specified index in a sequence or a default value if the index is out of range.

Except<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Except<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Except<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Except<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

Produz a diferença de conjunto de duas sequências usando o IEqualityComparer<T> especificado para comparar os valores.Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values.

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

Produz a diferença de conjunto de duas sequências usando o comparador de igualdade padrão para comparar os valores.Produces the set difference of two sequences by using the default equality comparer to compare values.

First<TSource>(IQueryable<TSource>) First<TSource>(IQueryable<TSource>) First<TSource>(IQueryable<TSource>) First<TSource>(IQueryable<TSource>)

Retorna o primeiro elemento de uma sequência.Returns the first element of a sequence.

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

Retorna o primeiro elemento de uma sequência que satisfaz uma condição especificada.Returns the first element of a sequence that satisfies a specified condition.

FirstOrDefault<TSource>(IQueryable<TSource>) FirstOrDefault<TSource>(IQueryable<TSource>) FirstOrDefault<TSource>(IQueryable<TSource>) FirstOrDefault<TSource>(IQueryable<TSource>)

Retorna o primeiro elemento de uma sequência ou um valor padrão se a sequência não contém elementos.Returns the first element of a sequence, or a default value if the sequence contains no elements.

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

Retorna o primeiro elemento de uma sequência que atende a uma condição especificada ou um valor padrão se esse elemento não é encontrado.Returns the first element of a sequence that satisfies a specified condition or a default value if no such element is found.

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

Agrupa os elementos de uma sequência de acordo com uma função do seletor de chave especificada e cria um valor de resultado de cada grupo e sua chave.Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. As chaves são comparadas usando um comparador especificado e os elementos de cada grupo são projetados usando uma função especificada.Keys are compared by using a specified comparer and the elements of each group are projected by using a specified function.

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

Agrupa os elementos de uma sequência de acordo com uma função do seletor de chave especificada e cria um valor de resultado de cada grupo e sua chave.Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Os elementos de cada grupo são projetados usando uma função especificada.The elements of each group are projected by using a specified function.

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

Agrupa os elementos de uma sequência de acordo com a função de seletor de chave especificada e projeta os elementos de cada grupo usando uma função especificada.Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function.

GroupBy<TSource,TKey,TElement>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TSource,TElement>>, IEqualityComparer<TKey>) GroupBy<TSource,TKey,TElement>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TSource,TElement>>, IEqualityComparer<TKey>) GroupBy<TSource,TKey,TElement>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TSource,TElement>>, IEqualityComparer<TKey>) GroupBy<TSource,TKey,TElement>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TSource,TElement>>, IEqualityComparer<TKey>)

Agrupa os elementos de uma sequência e projeta os elementos para cada grupo usando uma função especificada.Groups the elements of a sequence and projects the elements for each group by using a specified function. Os valores de chave são comparados usando um comparador especificado.Key values are compared by using a specified comparer.

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

Agrupa os elementos de uma sequência de acordo com uma função do seletor de chave especificada e cria um valor de resultado de cada grupo e sua chave.Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key.

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

Agrupa os elementos de uma sequência de acordo com uma função do seletor de chave especificada e cria um valor de resultado de cada grupo e sua chave.Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. As chaves são comparadas usando um comparador especificado.Keys are compared by using a specified comparer.

GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IEqualityComparer<TKey>) GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IEqualityComparer<TKey>) GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IEqualityComparer<TKey>) GroupBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IEqualityComparer<TKey>)

Agrupa os elementos de uma sequência de acordo com uma função do seletor de chave especificada e compara as chaves usando um comparador especificado.Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer.

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

Agrupa os elementos de uma sequência de acordo com uma função de seletor de chave especificada.Groups the elements of a sequence according to a specified key selector function.

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

Correlaciona os elementos de duas sequências com base na igualdade de chaves e agrupa os resultados.Correlates the elements of two sequences based on key equality and groups the results. O comparador de igualdade padrão é usado para comparar chaves.The default equality comparer is used to compare keys.

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

Correlaciona os elementos de duas sequências com base na igualdade de chaves e agrupa os resultados.Correlates the elements of two sequences based on key equality and groups the results. Um IEqualityComparer<T> especificado é usado para comparar chaves.A specified IEqualityComparer<T> is used to compare keys.

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

Produz a interseção de conjunto de duas sequências usando o comparador de igualdade padrão para comparar os valores.Produces the set intersection of two sequences by using the default equality comparer to compare values.

Intersect<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Intersect<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Intersect<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Intersect<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

Produz a interseção de conjunto de duas sequências usando o IEqualityComparer<T> especificado para comparar os valores.Produces the set intersection of two sequences by using the specified IEqualityComparer<T> to compare values.

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

Correlaciona os elementos de duas sequências com base em chaves de correspondência.Correlates the elements of two sequences based on matching keys. O comparador de igualdade padrão é usado para comparar chaves.The default equality comparer is used to compare keys.

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

Correlaciona os elementos de duas sequências com base em chaves de correspondência.Correlates the elements of two sequences based on matching keys. Um IEqualityComparer<T> especificado é usado para comparar chaves.A specified IEqualityComparer<T> is used to compare keys.

Last<TSource>(IQueryable<TSource>) Last<TSource>(IQueryable<TSource>) Last<TSource>(IQueryable<TSource>) Last<TSource>(IQueryable<TSource>)

Retorna o último elemento em uma sequência.Returns the last element in a sequence.

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

Retorna o último elemento de uma sequência que satisfaz uma condição especificada.Returns the last element of a sequence that satisfies a specified condition.

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

Retorna o último elemento de uma sequência que satisfaz uma condição ou um valor padrão, caso esse elemento não seja encontrado.Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.

LastOrDefault<TSource>(IQueryable<TSource>) LastOrDefault<TSource>(IQueryable<TSource>) LastOrDefault<TSource>(IQueryable<TSource>) LastOrDefault<TSource>(IQueryable<TSource>)

Retorna o último elemento de uma sequência ou um valor padrão se a sequência não contém elementos.Returns the last element in a sequence, or a default value if the sequence contains no elements.

LongCount<TSource>(IQueryable<TSource>) LongCount<TSource>(IQueryable<TSource>) LongCount<TSource>(IQueryable<TSource>) LongCount<TSource>(IQueryable<TSource>)

Retorna um Int64 que representa o número total de elementos em uma sequência.Returns an Int64 that represents the total number of elements in a sequence.

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

Retorna um Int64 que representa o número de elementos em uma sequência que atendem a uma condição.Returns an Int64 that represents the number of elements in a sequence that satisfy a condition.

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

Invoca uma função de projeção em cada elemento de um IQueryable<T> genérico e retorna o valor resultante máximo.Invokes a projection function on each element of a generic IQueryable<T> and returns the maximum resulting value.

Max<TSource>(IQueryable<TSource>) Max<TSource>(IQueryable<TSource>) Max<TSource>(IQueryable<TSource>) Max<TSource>(IQueryable<TSource>)

Retorna o valor máximo em um IQueryable<T> genérico.Returns the maximum value in a generic IQueryable<T>.

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

Invoca uma função de projeção em cada elemento de um IQueryable<T> genérico e retorna o valor resultante mínimo.Invokes a projection function on each element of a generic IQueryable<T> and returns the minimum resulting value.

Min<TSource>(IQueryable<TSource>) Min<TSource>(IQueryable<TSource>) Min<TSource>(IQueryable<TSource>) Min<TSource>(IQueryable<TSource>)

Retorna o valor mínimo de um IQueryable<T> genérico.Returns the minimum value of a generic IQueryable<T>.

OfType<TResult>(IQueryable) OfType<TResult>(IQueryable) OfType<TResult>(IQueryable) OfType<TResult>(IQueryable)

Filtra os elementos de um IQueryable com base em um tipo especificado.Filters the elements of an IQueryable based on a specified type.

OrderBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) OrderBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) OrderBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) OrderBy<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>)

Classifica os elementos de uma sequência em ordem crescente usando um comparador especificado.Sorts the elements of a sequence in ascending order by using a specified comparer.

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

Classifica os elementos de uma sequência em ordem crescente de acordo com uma chave.Sorts the elements of a sequence in ascending order according to a key.

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

Classifica os elementos de uma sequência em ordem decrescente de acordo com uma chave.Sorts the elements of a sequence in descending order according to a key.

OrderByDescending<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) OrderByDescending<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) OrderByDescending<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) OrderByDescending<TSource,TKey>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>)

Classifica os elementos de uma sequência em ordem decrescente usando um comparador especificado.Sorts the elements of a sequence in descending order by using a specified comparer.

Prepend<TSource>(IQueryable<TSource>, TSource) Prepend<TSource>(IQueryable<TSource>, TSource) Prepend<TSource>(IQueryable<TSource>, TSource) Prepend<TSource>(IQueryable<TSource>, TSource)
Reverse<TSource>(IQueryable<TSource>) Reverse<TSource>(IQueryable<TSource>) Reverse<TSource>(IQueryable<TSource>) Reverse<TSource>(IQueryable<TSource>)

Inverte a ordem dos elementos em uma sequência.Inverts the order of the elements in a sequence.

Select<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,Int32,TResult>>) Select<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,Int32,TResult>>) Select<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,Int32,TResult>>) Select<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,Int32,TResult>>)

Projeta cada elemento de uma sequência em um novo formulário, incorporando o índice do elemento.Projects each element of a sequence into a new form by incorporating the element's index.

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

Projeta cada elemento de uma sequência em um novo formulário.Projects each element of a sequence into a new form.

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

Projeta cada elemento de uma sequência em um IEnumerable<T> que incorpora o índice do elemento de origem que o produziu.Projects each element of a sequence to an IEnumerable<T> that incorporates the index of the source element that produced it. Uma função seletora de resultados é invocada em cada elemento de cada sequência intermediária e os valores resultantes são combinados em uma única sequência unidimensional e retornados.A result selector function is invoked on each element of each intermediate sequence, and the resulting values are combined into a single, one-dimensional sequence and returned.

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

Projeta cada elemento de uma sequência em um IEnumerable<T> e invoca uma função de seletor de resultado em cada elemento contido nele.Projects each element of a sequence to an IEnumerable<T> and invokes a result selector function on each element therein. Os valores resultantes de cada sequência intermediária são combinados em uma única sequência unidimensional e retornada.The resulting values from each intermediate sequence are combined into a single, one-dimensional sequence and returned.

SelectMany<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,Int32,IEnumerable<TResult>>>) SelectMany<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,Int32,IEnumerable<TResult>>>) SelectMany<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,Int32,IEnumerable<TResult>>>) SelectMany<TSource,TResult>(IQueryable<TSource>, Expression<Func<TSource,Int32,IEnumerable<TResult>>>)

Projeta cada elemento de uma sequência em um IEnumerable<T> e combina as sequências resultantes em uma sequência.Projects each element of a sequence to an IEnumerable<T> and combines the resulting sequences into one sequence. O índice de cada elemento de origem é usado no formulário projetado desse elemento.The index of each source element is used in the projected form of that element.

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

Projeta cada elemento de uma sequência em um IEnumerable<T> e combina as sequências resultantes em uma sequência.Projects each element of a sequence to an IEnumerable<T> and combines the resulting sequences into one sequence.

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

Determina se duas sequências são iguais usando o comparador de igualdade padrão para comparar elementos.Determines whether two sequences are equal by using the default equality comparer to compare elements.

SequenceEqual<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) SequenceEqual<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) SequenceEqual<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) SequenceEqual<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

Determina se duas sequências são iguais usando um IEqualityComparer<T> especificado para comparar elementos.Determines whether two sequences are equal by using a specified IEqualityComparer<T> to compare elements.

Single<TSource>(IQueryable<TSource>) Single<TSource>(IQueryable<TSource>) Single<TSource>(IQueryable<TSource>) Single<TSource>(IQueryable<TSource>)

Retornará o único elemento de uma sequência e lançará uma exceção se não houver exatamente um elemento na sequência.Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence.

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

Retorna o único elemento de uma sequência que satisfaz uma condição especificada e gera uma exceção se houver mais de um tal elemento.Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.

SingleOrDefault<TSource>(IQueryable<TSource>) SingleOrDefault<TSource>(IQueryable<TSource>) SingleOrDefault<TSource>(IQueryable<TSource>) SingleOrDefault<TSource>(IQueryable<TSource>)

Retorna o único elemento de uma sequência ou um valor padrão se a sequência é vazia; esse método gera uma exceção se há mais de um elemento na sequência.Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence.

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

Retorna o único elemento de uma sequência que satisfaz uma condição especificada ou um valor padrão se esse elemento não existir. Esse método lança uma exceção se mais de um elemento satisfizer a condição.Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition.

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

Ignora um número especificado de elementos em uma sequência e retorna os elementos restantes.Bypasses a specified number of elements in a sequence and then returns the remaining elements.

SkipLast<TSource>(IQueryable<TSource>, Int32) SkipLast<TSource>(IQueryable<TSource>, Int32) SkipLast<TSource>(IQueryable<TSource>, Int32) SkipLast<TSource>(IQueryable<TSource>, Int32)
SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Ignora elementos em uma sequência, contanto que uma condição especificada seja verdadeira e retorne os elementos restantes.Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.

SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) SkipWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>)

Ignora elementos em uma sequência, contanto que uma condição especificada seja verdadeira e retorne os elementos restantes.Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. O índice do elemento é usado na lógica da função de predicado.The element's index is used in the logic of the predicate function.

Sum(IQueryable<Single>) Sum(IQueryable<Single>) Sum(IQueryable<Single>) Sum(IQueryable<Single>)

Calcula a soma de uma sequência de valores Single.Computes the sum of a sequence of Single values.

Sum(IQueryable<Nullable<Single>>) Sum(IQueryable<Nullable<Single>>) Sum(IQueryable<Nullable<Single>>) Sum(IQueryable<Nullable<Single>>)

Computa a soma de uma sequência de valores Single que permitem valores nulos.Computes the sum of a sequence of nullable Single values.

Sum(IQueryable<Nullable<Int64>>) Sum(IQueryable<Nullable<Int64>>) Sum(IQueryable<Nullable<Int64>>) Sum(IQueryable<Nullable<Int64>>)

Computa a soma de uma sequência de valores Int64 que permitem valores nulos.Computes the sum of a sequence of nullable Int64 values.

Sum(IQueryable<Nullable<Int32>>) Sum(IQueryable<Nullable<Int32>>) Sum(IQueryable<Nullable<Int32>>) Sum(IQueryable<Nullable<Int32>>)

Computa a soma de uma sequência de valores Int32 que permitem valores nulos.Computes the sum of a sequence of nullable Int32 values.

Sum(IQueryable<Nullable<Double>>) Sum(IQueryable<Nullable<Double>>) Sum(IQueryable<Nullable<Double>>) Sum(IQueryable<Nullable<Double>>)

Computa a soma de uma sequência de valores Double que permitem valores nulos.Computes the sum of a sequence of nullable Double values.

Sum(IQueryable<Int32>) Sum(IQueryable<Int32>) Sum(IQueryable<Int32>) Sum(IQueryable<Int32>)

Calcula a soma de uma sequência de valores Int32.Computes the sum of a sequence of Int32 values.

Sum(IQueryable<Int64>) Sum(IQueryable<Int64>) Sum(IQueryable<Int64>) Sum(IQueryable<Int64>)

Calcula a soma de uma sequência de valores Int64.Computes the sum of a sequence of Int64 values.

Sum(IQueryable<Nullable<Decimal>>) Sum(IQueryable<Nullable<Decimal>>) Sum(IQueryable<Nullable<Decimal>>) Sum(IQueryable<Nullable<Decimal>>)

Computa a soma de uma sequência de valores Decimal que permitem valores nulos.Computes the sum of a sequence of nullable Decimal values.

Sum(IQueryable<Double>) Sum(IQueryable<Double>) Sum(IQueryable<Double>) Sum(IQueryable<Double>)

Calcula a soma de uma sequência de valores Double.Computes the sum of a sequence of Double values.

Sum(IQueryable<Decimal>) Sum(IQueryable<Decimal>) Sum(IQueryable<Decimal>) Sum(IQueryable<Decimal>)

Calcula a soma de uma sequência de valores Decimal.Computes the sum of a sequence of Decimal values.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Single>>>)

Calcula a soma da sequência de valores Single anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int64>>>)

Calcula a soma da sequência de valores Int64 anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Int32>>>)

Calcula a soma da sequência de valores Int32 anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Double>>>)

Calcula a soma da sequência de valores Double anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Single>>)

Calcula a soma da sequência de valores Single que é obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of Single values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int64>>)

Calcula a soma da sequência de valores Int64 que é obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32>>)

Calcula a soma da sequência de valores Int32 que é obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Double>>)

Calcula a soma da sequência de valores Double que é obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of Double values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Decimal>>)

Calcula a soma da sequência de valores Decimal que é obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence.

Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>) Sum<TSource>(IQueryable<TSource>, Expression<Func<TSource,Nullable<Decimal>>>)

Calcula a soma da sequência de valores Decimal anuláveis obtida invocando uma função de projeção em cada elemento da sequência de entrada.Computes the sum of the sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence.

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

Retorna um número especificado de elementos contíguos do início de uma sequência.Returns a specified number of contiguous elements from the start of a sequence.

TakeLast<TSource>(IQueryable<TSource>, Int32) TakeLast<TSource>(IQueryable<TSource>, Int32) TakeLast<TSource>(IQueryable<TSource>, Int32) TakeLast<TSource>(IQueryable<TSource>, Int32)
TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>) TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Boolean>>)

Retorna os elementos de uma sequência contanto que uma condição especificada seja verdadeira.Returns elements from a sequence as long as a specified condition is true.

TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) TakeWhile<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>)

Retorna os elementos de uma sequência contanto que uma condição especificada seja verdadeira.Returns elements from a sequence as long as a specified condition is true. O índice do elemento é usado na lógica da função de predicado.The element's index is used in the logic of the predicate function.

ThenBy<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) ThenBy<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) ThenBy<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) ThenBy<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>)

Executa uma ordenação posterior dos elementos em uma sequência em ordem crescente usando um comparador especificado.Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer.

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

Executa uma ordenação posterior dos elementos em uma sequência em ordem crescente de acordo com uma chave.Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.

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

Executa uma ordenação posterior dos elementos em uma sequência em ordem decrescente, de acordo com uma chave.Performs a subsequent ordering of the elements in a sequence in descending order, according to a key.

ThenByDescending<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) ThenByDescending<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) ThenByDescending<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>) ThenByDescending<TSource,TKey>(IOrderedQueryable<TSource>, Expression<Func<TSource,TKey>>, IComparer<TKey>)

Executa uma ordenação posterior dos elementos em uma sequência em ordem decrescente usando um comparador especificado.Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer.

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

Produz a união de conjunto de duas sequências usando o comparador de igualdade padrão.Produces the set union of two sequences by using the default equality comparer.

Union<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Union<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Union<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>) Union<TSource>(IQueryable<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

Produz a união de conjunto de duas sequências usando o IEqualityComparer<T> especificado.Produces the set union of two sequences by using a specified IEqualityComparer<T>.

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

Filtra uma sequência de valores com base em um predicado.Filters a sequence of values based on a predicate.

Where<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) Where<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) Where<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>) Where<TSource>(IQueryable<TSource>, Expression<Func<TSource,Int32,Boolean>>)

Filtra uma sequência de valores com base em um predicado.Filters a sequence of values based on a predicate. O índice de cada elemento é usado na lógica da função de predicado.Each element's index is used in the logic of the predicate function.

Zip<TFirst,TSecond,TResult>(IQueryable<TFirst>, IEnumerable<TSecond>, Expression<Func<TFirst,TSecond,TResult>>) Zip<TFirst,TSecond,TResult>(IQueryable<TFirst>, IEnumerable<TSecond>, Expression<Func<TFirst,TSecond,TResult>>) Zip<TFirst,TSecond,TResult>(IQueryable<TFirst>, IEnumerable<TSecond>, Expression<Func<TFirst,TSecond,TResult>>) Zip<TFirst,TSecond,TResult>(IQueryable<TFirst>, IEnumerable<TSecond>, Expression<Func<TFirst,TSecond,TResult>>)

Mescla duas sequências usando a função de predicado especificada.Merges two sequences by using the specified predicate function.

Zip<TFirst,TSecond>(IQueryable<TFirst>, IEnumerable<TSecond>) Zip<TFirst,TSecond>(IQueryable<TFirst>, IEnumerable<TSecond>) Zip<TFirst,TSecond>(IQueryable<TFirst>, IEnumerable<TSecond>) Zip<TFirst,TSecond>(IQueryable<TFirst>, IEnumerable<TSecond>)

Aplica-se a

Veja também