Udostępnij przez


DbExpressionBuilder.ToSortClauseDescending Metoda

Definicja

Przeciążenia

ToSortClauseDescending(DbExpression)

Tworzy nowy DbSortClause z malejącą kolejnością sortowania i sortowaniem domyślnym.

ToSortClauseDescending(DbExpression, String)

Tworzy nowy DbSortClause z malejącą kolejnością sortowania i określonym sortowaniem.

ToSortClauseDescending(DbExpression)

Tworzy nowy DbSortClause z malejącą kolejnością sortowania i sortowaniem domyślnym.

public static System.Data.Entity.Core.Common.CommandTrees.DbSortClause ToSortClauseDescending (this System.Data.Entity.Core.Common.CommandTrees.DbExpression key);
static member ToSortClauseDescending : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbSortClause
<Extension()>
Public Function ToSortClauseDescending (key As DbExpression) As DbSortClause

Parametry

key
DbExpression

Wyrażenie definiujące klucz sortowania.

Zwraca

Nowa klauzula sortowania z podanym kluczem sortowania i malejącą kolejnością sortowania.

Wyjątki

klucz ma wartość null.

klucz nie ma porównywalnego typu wyników z kolejnością.

Dotyczy

ToSortClauseDescending(DbExpression, String)

Tworzy nowy DbSortClause z malejącą kolejnością sortowania i określonym sortowaniem.

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

Parametry

key
DbExpression

Wyrażenie definiujące klucz sortowania.

collation
String

Sortowanie do sortowania poniżej.

Zwraca

Nowa klauzula sortowania z podanym kluczem sortowania i sortowaniem oraz malejącą kolejnością sortowania.

Wyjątki

klucz ma wartość null.

sortowanie jest puste lub zawiera tylko znaki spacji.

klucz nie ma porównywalnego typu wyników z kolejnością.

Dotyczy