Convert a lambda expression to NHibernate Order
Namespace: NHibernate.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static Order ProcessOrder( Expression<Func<Object>> expression, Func<string, Order> orderDelegate ) |
Visual Basic |
---|
Public Shared Function ProcessOrder ( _ expression As Expression(Of Func(Of Object)), _ orderDelegate As Func(Of String, Order) _ ) As Order |
Visual C++ |
---|
public: static Order^ ProcessOrder( Expression<Func<Object^>^>^ expression, Func<String^, Order^>^ orderDelegate ) |
Parameters
- expression
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'Object>)>)>>)>)>
The lambda expression to convert
- orderDelegate
- Type: System..::..Func<(Of <(<'String, Order>)>)>
The appropriate order delegate (order direction)