Add order expressed as a lambda expression

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

Syntax

C#
IQueryOverOrderBuilder<TRoot, TSubType> OrderBy(
	Expression<Func<TSubType, Object>> path
)
Visual Basic
Function OrderBy ( _
	path As Expression(Of Func(Of TSubType, Object)) _
) As IQueryOverOrderBuilder(Of TRoot, TSubType)
Visual C++
IQueryOverOrderBuilder<TRoot, TSubType>^ OrderBy(
	Expression<Func<TSubType, Object^>^>^ path
)

Parameters

path
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TSubType, Object>)>)>>)>)>
Lambda expression

Return Value

criteria instance

See Also