Queryable Sınıf

Tanım

static Shared Uygulayan veri yapılarını sorgulamak için bir dizi (Visual Basic) yöntemleri sağlar 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
Devralma
Queryable

Açıklamalar

Sınıfında belirtilen yöntemler kümesi, Queryable uygulayan veri kaynaklarını sorgulamak için standart sorgu işleçlerinin bir uygulamasını sağlar 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>. Standart sorgu işleçleri, LINQ modelini izleyen genel amaçlı yöntemlerdir ve herhangi bir veri üzerinde geçiş, filtreleme ve İzdüşüm işlemlerini bir bütün veriler üzerinde hızlı bir şekilde sağlar. NET tabanlı programlama dili.The standard query operators are general purpose methods that follow the LINQ pattern and enable you to express traversal, filter, and projection operations over data in any .NET-based programming language.

Bu sınıftaki yöntemlerin çoğu, türü genişleten genişletme yöntemleri olarak tanımlanır IQueryable<T> .The majority of the methods in this class are defined as extension methods that extend the IQueryable<T> type. Bu, uygulayan herhangi bir nesne üzerinde örnek yöntemi gibi çağrılabilecek anlamına gelir IQueryable<T> .This means they can be called like an instance method on any object that implements IQueryable<T>. Genişleten bu yöntemler IQueryable<T> doğrudan sorgu gerçekleştirmez.These methods that extend IQueryable<T> do not perform any querying directly. Bunun yerine, kendi işlevleri, Expression toplu sorguyu temsil eden bir ifade ağacı olan bir nesne oluşturur.Instead, their functionality is to build an Expression object, which is an expression tree that represents the cumulative query. Yöntemler daha sonra yeni ifade ağacını Execute<TResult>(Expression) yönteme ya da CreateQuery<TElement>(Expression) giriş yöntemine iletir 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>. Çağrılan yöntemi, Queryable yöntemin tek bir değer döndürüp döndürmediğine, bu durumda Execute<TResult>(Expression) çağrıldığında veya numaralandırılabilir sonuçlara sahip olmasına bağlıdır, bu durumda CreateQuery<TElement>(Expression) çağrılır.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.

Hedef verilerdeki gerçek sorgu yürütmesi, uygulayan bir sınıf tarafından gerçekleştirilir IQueryable<T> .The actual query execution on the target data is performed by a class that implements IQueryable<T>. Herhangi bir IQueryable<T> uygulamanın beklentisi, bir standart sorgu operatörü yöntemi tarafından oluşturulan bir ifade ağacının yürütülmesi sonucunda Queryable Enumerable , veri kaynağı bir ise sınıfında karşılık gelen yöntemi çağırma sonucuna eşdeğerdir 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>.

Nesneler üzerinde çalışan standart sorgu işleci yöntemlerine ek olarak, IQueryable<T> Bu sınıf nesneleri AsQueryable nesneler olarak belirleyen bir yöntemi de içerir IEnumerable IQueryable .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.

Yöntemler

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

Bir sıra üzerinde bir biriktiricidir işlevi uygular.Applies an accumulator function over a sequence. Belirtilen çekirdek değeri, ilk biriktiricidir değeri olarak kullanılır ve sonuç değerini seçmek için belirtilen işlev kullanılır.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>>)

Bir sıra üzerinde bir biriktiricidir işlevi uygular.Applies an accumulator function over a sequence. Belirtilen çekirdek değeri, ilk biriktiricidir değeri olarak kullanılır.The specified seed value is used as the initial accumulator value.

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

Bir sıra üzerinde bir biriktiricidir işlevi uygular.Applies an accumulator function over a sequence.

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

Bir dizinin tüm öğelerinin bir koşulu karşılayıp karşılamadığını belirler.Determines whether all the elements of a sequence satisfy a condition.

Any<TSource>(IQueryable<TSource>)

Bir sıranın herhangi bir öğe içerip içermediğini belirler.Determines whether a sequence contains any elements.

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

Bir dizinin herhangi bir öğesinin bir koşulu karşılayıp karşılamadığını belirler.Determines whether any element of a sequence satisfies a condition.

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

Sonunda belirtilen öğeden ve sonuna kadar olan öğeleri içeren yeni bir Queryable dizisi döndürür source element .Returns a new queryable sequence that contains the elements from source plus the specified element appended at the end.

AsQueryable(IEnumerable)

Bir IEnumerable öğesine dönüştürür IQueryable .Converts an IEnumerable to an IQueryable.

AsQueryable<TElement>(IEnumerable<TElement>)

Genel ' i IEnumerable<T> genel olarak dönüştürür IQueryable<T> .Converts a generic IEnumerable<T> to a generic IQueryable<T>.

Average(IQueryable<Decimal>)

Bir değer dizisinin ortalamasını hesaplar Decimal .Computes the average of a sequence of Decimal values.

Average(IQueryable<Double>)

Bir değer dizisinin ortalamasını hesaplar Double .Computes the average of a sequence of Double values.

Average(IQueryable<Int32>)

Bir değer dizisinin ortalamasını hesaplar Int32 .Computes the average of a sequence of Int32 values.

Average(IQueryable<Int64>)

Bir değer dizisinin ortalamasını hesaplar Int64 .Computes the average of a sequence of Int64 values.

Average(IQueryable<Nullable<Decimal>>)

Null yapılabilir değerler dizisinin ortalamasını hesaplar Decimal .Computes the average of a sequence of nullable Decimal values.

Average(IQueryable<Nullable<Double>>)

Null yapılabilir değerler dizisinin ortalamasını hesaplar Double .Computes the average of a sequence of nullable Double values.

Average(IQueryable<Nullable<Int32>>)

Null yapılabilir değerler dizisinin ortalamasını hesaplar Int32 .Computes the average of a sequence of nullable Int32 values.

Average(IQueryable<Nullable<Int64>>)

Null yapılabilir değerler dizisinin ortalamasını hesaplar Int64 .Computes the average of a sequence of nullable Int64 values.

Average(IQueryable<Nullable<Single>>)

Null yapılabilir değerler dizisinin ortalamasını hesaplar Single .Computes the average of a sequence of nullable Single values.

Average(IQueryable<Single>)

Bir değer dizisinin ortalamasını hesaplar Single .Computes the average of a sequence of Single values.

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

DecimalGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen bir değer dizisinin ortalamasını hesaplar.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,Double>>)

DoubleGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen bir değer dizisinin ortalamasını hesaplar.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,Int32>>)

Int32Giriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen bir değer dizisinin ortalamasını hesaplar.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,Int64>>)

Int64Giriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen bir değer dizisinin ortalamasını hesaplar.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,Nullable<Decimal>>>)

DecimalGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin ortalamasını hesaplar.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.

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

DoubleGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin ortalamasını hesaplar.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,Nullable<Int32>>>)

Int32Giriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin ortalamasını hesaplar.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<Int64>>>)

Int64Giriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin ortalamasını hesaplar.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<Single>>>)

SingleGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin ortalamasını hesaplar.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,Single>>)

SingleGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen bir değer dizisinin ortalamasını hesaplar.Computes the average of a sequence of Single values that is obtained by invoking a projection function on each element of the input sequence.

Cast<TResult>(IQueryable)

Öğesinin öğelerini IQueryable belirtilen türe dönüştürür.Converts the elements of an IQueryable to the specified type.

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

İki diziyi art arda ekler.Concatenates two sequences.

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

Varsayılan eşitlik karşılaştırıcıyı kullanarak bir sıranın belirtilen öğeyi içerip içermediğini belirler.Determines whether a sequence contains a specified element by using the default equality comparer.

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

Belirtilen öğeyi kullanarak bir sıranın belirtilen öğeyi içerip içermediğini belirler IEqualityComparer<T> .Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>.

Count<TSource>(IQueryable<TSource>)

Dizideki öğe sayısını döndürür.Returns the number of elements in a sequence.

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

Belirtilen dizideki bir koşula uyan öğe sayısını döndürür.Returns the number of elements in the specified sequence that satisfies a condition.

DefaultIfEmpty<TSource>(IQueryable<TSource>)

Dizi boşsa, tek bir koleksiyonda belirtilen sıranın veya tür parametresinin varsayılan değerinin varsayılan değerini döndürür.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)

Dizi boşsa, tek bir koleksiyonda belirtilen sıranın veya belirtilen değerin öğelerini döndürür.Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty.

Distinct<TSource>(IQueryable<TSource>)

Değerleri karşılaştırmak için varsayılan eşitlik karşılaştırıcıyı kullanarak bir dizideki ayrı öğeleri döndürür.Returns distinct elements from a sequence by using the default equality comparer to compare values.

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

Değerleri karşılaştırmak için belirtilen ' i kullanarak bir dizideki ayrı öğeleri döndürür IEqualityComparer<T> .Returns distinct elements from a sequence by using a specified IEqualityComparer<T> to compare values.

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

Bir dizideki belirtilen dizindeki öğeyi döndürür.Returns the element at a specified index in a sequence.

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

Dizin aralık dışında bir dizide belirtilen dizindeki öğeyi veya varsayılan değeri döndürür.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>)

Değerleri karşılaştırmak için varsayılan eşitlik karşılaştırıcıyı kullanarak iki sıranın ayarlama farkını üretir.Produces the set difference of two sequences by using the default equality comparer to compare values.

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

Değerleri karşılaştırmak için belirtilen ' i kullanarak iki sıranın ayarlama farkını üretir IEqualityComparer<T> .Produces the set difference of two sequences by using the specified IEqualityComparer<T> to compare values.

First<TSource>(IQueryable<TSource>)

Sıradaki ilk öğeyi döndürür.Returns the first element of a sequence.

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

Belirli bir koşulu karşılayan bir dizinin ilk öğesini döndürür.Returns the first element of a sequence that satisfies a specified condition.

FirstOrDefault<TSource>(IQueryable<TSource>)

Bir dizinin ilk öğesini veya dizi hiçbir öğe içermiyorsa varsayılan değeri döndürür.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>>)

Belirtilen bir koşulu karşılayan bir dizinin ilk öğesini veya böyle bir öğe bulunmazsa varsayılan değeri döndürür.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>>)

Bir dizinin öğelerini belirtilen bir anahtar Seçicisi işlevine göre gruplandırır ve her bir gruptan ve onun anahtarından bir sonuç değeri oluşturur.Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Her grubun öğeleri belirtilen bir işlev kullanılarak yansıtıllardır.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>>, IEqualityComparer<TKey>)

Bir dizinin öğelerini belirtilen bir anahtar Seçicisi işlevine göre gruplandırır ve her bir gruptan ve onun anahtarından bir sonuç değeri oluşturur.Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Anahtarlar belirtilen karşılaştırıcı kullanılarak karşılaştırılır ve her grubun öğeleri belirtilen bir işlev kullanılarak yansıtılmakta.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>(IQueryable<TSource>, Expression<Func<TSource,TKey>>, Expression<Func<TSource,TElement>>)

Bir dizinin öğelerini belirtilen bir anahtar Seçici işlevine göre gruplandırır ve belirtilen bir işlevi kullanarak her grup için öğeleri projeler halinde gruplandırır.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>)

Belirli bir işlevi kullanarak bir dizinin öğelerini ve her grup için öğeleri gruplandırır.Groups the elements of a sequence and projects the elements for each group by using a specified function. Anahtar değerleri, belirtilen karşılaştırıcı kullanılarak karşılaştırılır.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>>)

Bir dizinin öğelerini belirtilen bir anahtar Seçicisi işlevine göre gruplandırır ve her bir gruptan ve onun anahtarından bir sonuç değeri oluşturur.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>)

Bir dizinin öğelerini belirtilen bir anahtar Seçicisi işlevine göre gruplandırır ve her bir gruptan ve onun anahtarından bir sonuç değeri oluşturur.Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Anahtarlar belirtilen karşılaştırıcı kullanılarak karşılaştırılır.Keys are compared by using a specified comparer.

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

Bir dizinin öğelerini belirtilen bir anahtar Seçicisi işlevine göre gruplandırır.Groups the elements of a sequence according to a specified key selector function.

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

Bir dizinin öğelerini belirtilen bir anahtar Seçicisi işlevine göre gruplandırır ve belirtilen karşılaştırıcıyı kullanarak anahtarları karşılaştırır.Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer.

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

İki sıranın öğelerini anahtar eşitliğine göre ilişkilendirir ve sonuçları gruplandırır.Correlates the elements of two sequences based on key equality and groups the results. Anahtarları karşılaştırmak için varsayılan eşitlik karşılaştırıcısı kullanılır.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>)

İki sıranın öğelerini anahtar eşitliğine göre ilişkilendirir ve sonuçları gruplandırır.Correlates the elements of two sequences based on key equality and groups the results. IEqualityComparer<T>Anahtarları karşılaştırmak için belirtilen bir kullanılır.A specified IEqualityComparer<T> is used to compare keys.

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

Değerleri karşılaştırmak için varsayılan eşitlik karşılaştırıcıyı kullanarak iki sıranın küme kesişimini üretir.Produces the set intersection of two sequences by using the default equality comparer to compare values.

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

Değerleri karşılaştırmak için belirtilen ' i kullanarak iki sıranın küme kesişimini üretir IEqualityComparer<T> .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>>)

İki sıranın öğelerini eşleşen anahtarlara göre karşılıklı olarak ilişkilendirir.Correlates the elements of two sequences based on matching keys. Anahtarları karşılaştırmak için varsayılan eşitlik karşılaştırıcısı kullanılır.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>)

İki sıranın öğelerini eşleşen anahtarlara göre karşılıklı olarak ilişkilendirir.Correlates the elements of two sequences based on matching keys. IEqualityComparer<T>Anahtarları karşılaştırmak için belirtilen bir kullanılır.A specified IEqualityComparer<T> is used to compare keys.

Last<TSource>(IQueryable<TSource>)

Sıradaki son öğeyi döndürür.Returns the last element in a sequence.

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

Belirtilen bir koşulu karşılayan bir dizinin son öğesini döndürür.Returns the last element of a sequence that satisfies a specified condition.

LastOrDefault<TSource>(IQueryable<TSource>)

Bir dizideki son öğeyi veya dizi hiçbir öğe içermiyorsa varsayılan değeri döndürür.Returns the last element in a sequence, or a default value if the sequence contains no elements.

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

Böyle bir öğe bulunmazsa bir koşulu karşılayan bir sıranın son öğesini veya varsayılan değeri döndürür.Returns the last element of a sequence that satisfies a condition or a default value if no such element is found.

LongCount<TSource>(IQueryable<TSource>)

Int64Bir dizideki toplam öğe sayısını temsil eden bir döndürür.Returns an Int64 that represents the total number of elements in a sequence.

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

Bir Int64 koşulu karşılayan bir dizideki öğe sayısını temsil eden bir döndürür.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>>)

Genel ' in her öğesinde bir izdüşüm işlevi çağırır IQueryable<T> ve elde edilen en büyük değeri döndürür.Invokes a projection function on each element of a generic IQueryable<T> and returns the maximum resulting value.

Max<TSource>(IQueryable<TSource>)

Genel içindeki en büyük değeri döndürür IQueryable<T> .Returns the maximum value in a generic IQueryable<T>.

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

Genel ' in her öğesinde bir izdüşüm işlevi çağırır IQueryable<T> ve elde edilen en düşük değeri döndürür.Invokes a projection function on each element of a generic IQueryable<T> and returns the minimum resulting value.

Min<TSource>(IQueryable<TSource>)

Genel ' in en küçük değerini döndürür IQueryable<T> .Returns the minimum value of a generic IQueryable<T>.

OfType<TResult>(IQueryable)

Öğesinin öğelerini IQueryable belirtilen bir türe göre filtreler.Filters the elements of an IQueryable based on a specified type.

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

Bir dizinin öğelerini bir anahtara göre artan düzende sıralar.Sorts the elements of a sequence in ascending order according to a key.

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

Belirtilen karşılaştırıcıyı kullanarak bir sıranın öğelerini artan düzende sıralar.Sorts the elements of a sequence in ascending order by using a specified comparer.

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

Bir dizinin öğelerini bir anahtara göre azalan düzende sıralar.Sorts the elements of a sequence in descending order according to a key.

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

Belirtilen karşılaştırıcıyı kullanarak bir dizinin öğelerini azalan sırada sıralar.Sorts the elements of a sequence in descending order by using a specified comparer.

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

İçindeki öğeleri içeren yeni bir sorgulanabilir dizi döndürür ve source element başlangıçta belirtilen prepfrom.Returns a new queryable sequence that contains the elements from source plus the specified element prepended at the beginning.

Reverse<TSource>(IQueryable<TSource>)

Bir dizideki öğelerin sırasını tersine çevirir.Inverts the order of the elements in a sequence.

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

Öğenin dizinini ekleyerek bir sıranın her öğesini yeni bir biçimde projeler.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>>)

Bir dizinin her öğesini yeni bir biçimde projeler.Projects each element of a sequence into a new form.

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

Bir dizinin her öğesini öğesine IEnumerable<T> ve içindeki her öğede bir sonuç Seçicisi işlevini çağırır.Projects each element of a sequence to an IEnumerable<T> and invokes a result selector function on each element therein. Her bir ara dizideki sonuç değerleri tek, tek boyutlu bir sırayla birleştirilir ve döndürülür.The resulting values from each intermediate sequence are combined into a single, one-dimensional sequence and returned.

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

Bir dizinin her öğesini IEnumerable<T> , onu üreten kaynak öğenin dizinini içeren öğesine ekler.Projects each element of a sequence to an IEnumerable<T> that incorporates the index of the source element that produced it. Her ara dizinin her öğesinde bir sonuç Seçicisi işlevi çağrılır ve elde edilen değerler tek, tek boyutlu bir sırayla birleştirilir ve döndürülür.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,TResult>(IQueryable<TSource>, Expression<Func<TSource,IEnumerable<TResult>>>)

Bir dizinin her bir öğesini bir öğesine IEnumerable<T> ve ortaya çıkan dizileri tek bir sırayla birleştiren projeler.Projects each element of a sequence to an IEnumerable<T> and combines the resulting sequences into one sequence.

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

Bir dizinin her bir öğesini bir öğesine IEnumerable<T> ve ortaya çıkan dizileri tek bir sırayla birleştiren projeler.Projects each element of a sequence to an IEnumerable<T> and combines the resulting sequences into one sequence. Her kaynak öğenin dizini, bu öğenin öngörülen formunda kullanılır.The index of each source element is used in the projected form of that element.

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

İki sıranın, öğeleri karşılaştırmak için varsayılan eşitlik karşılaştırıcıyı kullanarak eşit olup olmadığını belirler.Determines whether two sequences are equal by using the default equality comparer to compare elements.

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

Öğeleri karşılaştırmak için belirtilen ' i kullanarak iki sıranın eşit olup olmadığını belirler IEqualityComparer<T> .Determines whether two sequences are equal by using a specified IEqualityComparer<T> to compare elements.

Single<TSource>(IQueryable<TSource>)

Sıranın tek bir öğesini döndürür ve dizide tam olarak bir öğe yoksa bir özel durum oluşturur.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>>)

Belirtilen koşulu karşılayan bir dizinin tek öğesini döndürür ve birden fazla öğe varsa bir özel durum oluşturur.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>)

Bir dizinin tek bir öğesini veya dizi boşsa varsayılan değeri döndürür; dizide birden fazla öğe varsa, bu yöntem bir özel durum oluşturur.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>>)

Belirtilen bir koşulu veya böyle bir öğe yoksa varsayılan değeri karşılayan bir dizinin tek öğesini döndürür; Bu yöntem, koşulu karşılıyorsa, birden fazla öğe bir özel durum oluşturur.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)

Bir dizide belirtilen sayıda öğeyi atlar ve ardından kalan öğeleri döndürür.Bypasses a specified number of elements in a sequence and then returns the remaining elements.

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

sourceKaynak Queryable dizisinin son öğeleriyle öğesinden öğeleri içeren yeni bir Queryable dizisi döndürür count .Returns a new queryable sequence that contains the elements from source with the last count elements of the source queryable sequence omitted.

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

Belirtilen koşul doğru olduğu sürece dizideki öğeleri atlar ve kalan öğeleri döndürür.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>>)

Belirtilen koşul doğru olduğu sürece dizideki öğeleri atlar ve kalan öğeleri döndürür.Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. Öğenin dizini koşul işlevinin mantığında kullanılır.The element's index is used in the logic of the predicate function.

Sum(IQueryable<Decimal>)

Bir değer dizisinin toplamını hesaplar Decimal .Computes the sum of a sequence of Decimal values.

Sum(IQueryable<Double>)

Bir değer dizisinin toplamını hesaplar Double .Computes the sum of a sequence of Double values.

Sum(IQueryable<Int32>)

Bir değer dizisinin toplamını hesaplar Int32 .Computes the sum of a sequence of Int32 values.

Sum(IQueryable<Int64>)

Bir değer dizisinin toplamını hesaplar Int64 .Computes the sum of a sequence of Int64 values.

Sum(IQueryable<Nullable<Decimal>>)

Null yapılabilir değerler dizisinin toplamını hesaplar Decimal .Computes the sum of a sequence of nullable Decimal values.

Sum(IQueryable<Nullable<Double>>)

Null yapılabilir değerler dizisinin toplamını hesaplar Double .Computes the sum of a sequence of nullable Double values.

Sum(IQueryable<Nullable<Int32>>)

Null yapılabilir değerler dizisinin toplamını hesaplar Int32 .Computes the sum of a sequence of nullable Int32 values.

Sum(IQueryable<Nullable<Int64>>)

Null yapılabilir değerler dizisinin toplamını hesaplar Int64 .Computes the sum of a sequence of nullable Int64 values.

Sum(IQueryable<Nullable<Single>>)

Null yapılabilir değerler dizisinin toplamını hesaplar Single .Computes the sum of a sequence of nullable Single values.

Sum(IQueryable<Single>)

Bir değer dizisinin toplamını hesaplar Single .Computes the sum of a sequence of Single values.

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

DecimalGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen değer dizisinin toplamını hesaplar.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,Double>>)

DoubleGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen değer dizisinin toplamını hesaplar.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,Int32>>)

Int32Giriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen değer dizisinin toplamını hesaplar.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,Int64>>)

Int64Giriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen değer dizisinin toplamını hesaplar.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,Nullable<Decimal>>>)

DecimalGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin toplamını hesaplar.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.

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

DoubleGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin toplamını hesaplar.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,Nullable<Int32>>>)

Int32Giriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin toplamını hesaplar.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<Int64>>>)

Int64Giriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin toplamını hesaplar.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<Single>>>)

SingleGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen null yapılabilir değerler dizisinin toplamını hesaplar.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,Single>>)

SingleGiriş dizisinin her öğesinde bir projeksiyon işlevi çağırarak elde edilen değer dizisinin toplamını hesaplar.Computes the sum of the sequence of Single values that is obtained by invoking a projection function on each element of the input sequence.

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

Bir sıranın başından itibaren belirtilen sayıda bitişik öğeyi döndürür.Returns a specified number of contiguous elements from the start of a sequence.

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

Son öğeleri içeren yeni bir sorgulanabilir dizi döndürür count source .Returns a new queryable sequence that contains the last count elements from source.

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

Belirtilen koşul doğru olduğu sürece bir dizideki öğeleri döndürür.Returns elements from a sequence as long as a specified condition is true.

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

Belirtilen koşul doğru olduğu sürece bir dizideki öğeleri döndürür.Returns elements from a sequence as long as a specified condition is true. Öğenin dizini koşul işlevinin mantığında kullanılır.The element's index is used in the logic of the predicate function.

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

Bir dizide, bir anahtara göre artan düzende öğelerin sonraki sıralamasını gerçekleştirir.Performs a subsequent ordering of the elements in a sequence in ascending order according to a key.

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

Belirtilen karşılaştırıcıyı kullanarak bir dizideki öğelerin sonraki sıralamasını artan sırada gerçekleştirir.Performs a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer.

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

Bir anahtara göre bir dizideki öğelerin sonraki sıralamasını azalan sırada gerçekleştirir.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>)

Belirtilen karşılaştırıcıyı kullanarak dizideki öğelerin sonraki sıralamasını azalan sırada gerçekleştirir.Performs a subsequent ordering of the elements in a sequence in descending order by using a specified comparer.

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

Varsayılan eşitlik karşılaştırıcıyı kullanarak iki sıranın set birleşimini üretir.Produces the set union of two sequences by using the default equality comparer.

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

Belirtilen bir kullanarak iki sıranın set birleşimini üretir IEqualityComparer<T> .Produces the set union of two sequences by using a specified IEqualityComparer<T>.

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

Bir koşula göre bir değer dizisini filtreler.Filters a sequence of values based on a predicate.

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

Bir koşula göre bir değer dizisini filtreler.Filters a sequence of values based on a predicate. Her öğenin dizini koşul işlevinin mantığındaki kullanılır.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>>)

Belirtilen koşul işlevini kullanarak iki diziyi birleştirir.Merges two sequences by using the specified predicate function.

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

Belirtilen iki dizideki öğeleri içeren bir tanımlama grubu sırası üretir.Produces a sequence of tuples with elements from the two specified sequences.

Şunlara uygulanır