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