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<T>( Expression<Func<T, Object>> expression, Func<string, Order> orderDelegate ) |
Visual Basic |
---|
Public Shared Function ProcessOrder(Of T) ( _ expression As Expression(Of Func(Of T, Object)), _ orderDelegate As Func(Of String, Order) _ ) As Order |
Visual C++ |
---|
public: generic<typename T> static Order^ ProcessOrder( Expression<Func<T, Object^>^>^ expression, Func<String^, Order^>^ orderDelegate ) |
Parameters
- expression
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, Object>)>)>>)>)>
The lambda expression to convert
- orderDelegate
- Type: System..::..Func<(Of <(<'String, Order>)>)>
The appropriate order delegate (order direction)
Type Parameters
- T
- The type of the lambda expression