Set the Order By fragment of the Select Command

Namespace:  NHibernate.SqlCommand
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function SetOrderBy ( _
	orderBy As String _
) As SqlSimpleSelectBuilder
C#
public SqlSimpleSelectBuilder SetOrderBy(
	string orderBy
)
Visual C++
public:
SqlSimpleSelectBuilder^ SetOrderBy(
	String^ orderBy
)
JavaScript
function setOrderBy(orderBy);

Parameters

orderBy
Type: System..::.String
The OrderBy fragment. It should include the SQL "ORDER BY"

Return Value

The SqlSimpleSelectBuilder

See Also