DbExpressionBuilder.OrderByDescending メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した入力セットを、降順の並べ替え順序と既定の照合順序で、指定した並べ替えキーで並べ替える新しい DbSortExpression を作成します。
オーバーロード
| 名前 | 説明 |
|---|---|
| OrderByDescending(DbExpression, Func<DbExpression,DbExpression>) |
指定した入力セットを、降順の並べ替え順序と既定の照合順序で、指定した並べ替えキーで並べ替える新しい DbSortExpression を作成します。 |
| OrderByDescending(DbExpression, Func<DbExpression,DbExpression>, String) |
指定した入力セットを、降順の並べ替え順序と指定した照合順序で、指定した並べ替えキーで並べ替える新しい DbSortExpression を作成します。 |
OrderByDescending(DbExpression, Func<DbExpression,DbExpression>)
指定した入力セットを、降順の並べ替え順序と既定の照合順序で、指定した並べ替えキーで並べ替える新しい DbSortExpression を作成します。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbSortExpression ^ OrderByDescending(System::Data::Common::CommandTrees::DbExpression ^ source, Func<System::Data::Common::CommandTrees::DbExpression ^, System::Data::Common::CommandTrees::DbExpression ^> ^ sortKey);
public static System.Data.Common.CommandTrees.DbSortExpression OrderByDescending(this System.Data.Common.CommandTrees.DbExpression source, Func<System.Data.Common.CommandTrees.DbExpression,System.Data.Common.CommandTrees.DbExpression> sortKey);
static member OrderByDescending : System.Data.Common.CommandTrees.DbExpression * Func<System.Data.Common.CommandTrees.DbExpression, System.Data.Common.CommandTrees.DbExpression> -> System.Data.Common.CommandTrees.DbSortExpression
<Extension()>
Public Function OrderByDescending (source As DbExpression, sortKey As Func(Of DbExpression, DbExpression)) As DbSortExpression
パラメーター
- source
- DbExpression
入力セットを指定する式。
- sortKey
- Func<DbExpression,DbExpression>
入力セットのメンバーを指定して並べ替えキー式を派生させる方法を指定するメソッド。 このメソッドは、並べ替えキー定義を提供する順序に相当する結果型を持つ式を生成する必要があります。
返品
order-by 操作を表す新しい DbSortExpression。
例外
適用対象
OrderByDescending(DbExpression, Func<DbExpression,DbExpression>, String)
指定した入力セットを、降順の並べ替え順序と指定した照合順序で、指定した並べ替えキーで並べ替える新しい DbSortExpression を作成します。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbSortExpression ^ OrderByDescending(System::Data::Common::CommandTrees::DbExpression ^ source, Func<System::Data::Common::CommandTrees::DbExpression ^, System::Data::Common::CommandTrees::DbExpression ^> ^ sortKey, System::String ^ collation);
public static System.Data.Common.CommandTrees.DbSortExpression OrderByDescending(this System.Data.Common.CommandTrees.DbExpression source, Func<System.Data.Common.CommandTrees.DbExpression,System.Data.Common.CommandTrees.DbExpression> sortKey, string collation);
static member OrderByDescending : System.Data.Common.CommandTrees.DbExpression * Func<System.Data.Common.CommandTrees.DbExpression, System.Data.Common.CommandTrees.DbExpression> * string -> System.Data.Common.CommandTrees.DbSortExpression
<Extension()>
Public Function OrderByDescending (source As DbExpression, sortKey As Func(Of DbExpression, DbExpression), collation As String) As DbSortExpression
パラメーター
- source
- DbExpression
入力セットを指定する式。
- sortKey
- Func<DbExpression,DbExpression>
入力セットのメンバーを指定して並べ替えキー式を派生させる方法を指定するメソッド。 このメソッドは、並べ替えキー定義を提供する順序に相当する結果型を持つ式を生成する必要があります。
- collation
- String
並べ替える照合順序。
返品
order-by 操作を表す新しい DbSortExpression。
例外
collation が空であるか、空白文字のみが含まれています。