StatementBuilder.AddOrderBy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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