DbExpressionBuilder.ToSortClauseDescending メソッド

定義

降順の並べ替え順序と既定の照合順序を持つ新しい DbSortClause を作成します。

オーバーロード

名前 説明
ToSortClauseDescending(DbExpression)

降順の並べ替え順序と既定の照合順序を持つ新しい DbSortClause を作成します。

ToSortClauseDescending(DbExpression, String)

降順の並べ替え順序と指定した照合順序を持つ新しい DbSortClause を作成します。

ToSortClauseDescending(DbExpression)

降順の並べ替え順序と既定の照合順序を持つ新しい DbSortClause を作成します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbSortClause ^ ToSortClauseDescending(System::Data::Common::CommandTrees::DbExpression ^ key);
public static System.Data.Common.CommandTrees.DbSortClause ToSortClauseDescending(this System.Data.Common.CommandTrees.DbExpression key);
static member ToSortClauseDescending : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbSortClause
<Extension()>
Public Function ToSortClauseDescending (key As DbExpression) As DbSortClause

パラメーター

key
DbExpression

並べ替えキーを定義する式。

返品

指定された並べ替えキーと降順の並べ替え順序を持つ新しい並べ替え句。

例外

key が null です。

key には、並べ替えと同等の結果の型がありません。

適用対象

ToSortClauseDescending(DbExpression, String)

降順の並べ替え順序と指定した照合順序を持つ新しい DbSortClause を作成します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbSortClause ^ ToSortClauseDescending(System::Data::Common::CommandTrees::DbExpression ^ key, System::String ^ collation);
public static System.Data.Common.CommandTrees.DbSortClause ToSortClauseDescending(this System.Data.Common.CommandTrees.DbExpression key, string collation);
static member ToSortClauseDescending : System.Data.Common.CommandTrees.DbExpression * string -> System.Data.Common.CommandTrees.DbSortClause
<Extension()>
Public Function ToSortClauseDescending (key As DbExpression, collation As String) As DbSortClause

パラメーター

key
DbExpression

並べ替えキーを定義する式。

collation
String

並べ替える照合順序。

返品

指定された並べ替えキーと照合順序、および降順の並べ替え順序を持つ新しい並べ替え句。

例外

key が null です。

collation が空であるか、空白文字のみが含まれています。

key には、並べ替えと同等の結果の型がありません。

適用対象