Convert a lambda expression to NHibernate Order

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

Syntax

C#
public static Order ProcessOrder(
	LambdaExpression expression,
	Func<IProjection, Order> orderDelegate
)
Visual Basic
Public Shared Function ProcessOrder ( _
	expression As LambdaExpression, _
	orderDelegate As Func(Of IProjection, Order) _
) As Order
Visual C++
public:
static Order^ ProcessOrder(
	LambdaExpression^ expression, 
	Func<IProjection^, Order^>^ orderDelegate
)

Parameters

expression
Type: System.Linq.Expressions..::..LambdaExpression
The lambda expression to convert
orderDelegate
Type: System..::..Func<(Of <(<'IProjection, Order>)>)>
The appropriate order delegate (order direction)

Return Value

NHibernate Order

See Also