共用方式為


StatementBuilder.AddOrderBy Method

Definition

Overloads

AddOrderBy(String)

add to the ORDER BY clause

AddOrderBy(String, String, OrderBy+Direction)

add to ODER BY clause by name if the property apears in the SELECT list if not add it by value

AddOrderBy(String)

add to the ORDER BY clause

public void AddOrderBy (string str);
member this.AddOrderBy : string -> unit
Public Sub AddOrderBy (str As String)

Parameters

str
String

Applies to

AddOrderBy(String, String, OrderBy+Direction)

add to ODER BY clause by name if the property apears in the SELECT list if not add it by value

public void AddOrderBy (string prop, string orderByValue, Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy.Direction dir);
member this.AddOrderBy : string * string * Microsoft.SqlServer.Management.Sdk.Sfc.OrderBy.Direction -> unit
Public Sub AddOrderBy (prop As String, orderByValue As String, dir As OrderBy.Direction)

Parameters

prop
String
orderByValue
String

Applies to