Set the Order By fragment of the Select Command

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

Syntax

C#
public SqlSimpleSelectBuilder SetOrderBy(
	string orderBy
)
Visual Basic
Public Function SetOrderBy ( _
	orderBy As String _
) As SqlSimpleSelectBuilder
Visual C++
public:
SqlSimpleSelectBuilder^ SetOrderBy(
	String^ orderBy
)

Parameters

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

Return Value

The SqlSimpleSelectBuilder

See Also