Click or drag to resize

PreProcessorHandleSortClauseMethodCall Method

Handles the method call expression for a call to OrderBy, OrderByDescending, ThenBy and ThenByDescending

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.ExpressionHandlers
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
protected virtual Expression HandleSortClauseMethodCall(
	MethodCallExpression expressionToHandle,
	SortOperator operatorToUse
)

Parameters

expressionToHandle
Type: System.Linq.ExpressionsMethodCallExpression
The expression to handle.
operatorToUse
Type: SD.LLBLGen.Pro.ORMSupportClassesSortOperator
The operator to use.

Return Value

Type: Expression
SortClauseExpression
See Also