DbExpressionBuilder.Sort Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen giriş kümesini belirtilen sıralama belirtimlerine göre sıralayan yeni DbSortExpression bir oluşturur.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbSortExpression ^ Sort(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Collections::Generic::IEnumerable<System::Data::Common::CommandTrees::DbSortClause ^> ^ sortOrder);
public static System.Data.Common.CommandTrees.DbSortExpression Sort (this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Collections.Generic.IEnumerable<System.Data.Common.CommandTrees.DbSortClause> sortOrder);
static member Sort : System.Data.Common.CommandTrees.DbExpressionBinding * seq<System.Data.Common.CommandTrees.DbSortClause> -> System.Data.Common.CommandTrees.DbSortExpression
<Extension()>
Public Function Sort (input As DbExpressionBinding, sortOrder As IEnumerable(Of DbSortClause)) As DbSortExpression
Parametreler
- input
- DbExpressionBinding
Giriş kümesini belirten bir ifade bağlaması.
- sortOrder
- IEnumerable<DbSortClause>
Giriş kümesinin öğelerinin nasıl sıralanması gerektiğini belirleyen sıralama belirtimlerinin listesi.
Döndürülenler
Sıralama işlemini temsil eden yeni bir DbSortExpression.
Özel durumlar
input
veya sortOrder
null veya sortOrder
null içeriyor.
sortOrder
boş.
Şunlara uygulanır
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.