Click or drag to resize
GenericExpressionHandlerHandleExpression Method
Handles the expression.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public virtual Expression HandleExpression(
	Expression expressionToHandle
)

Parameters

expressionToHandle
Type: System.Linq.ExpressionsExpression
The expression to handle.

Return Value

Type: Expression
the result expression after the expression has been handled.
Remarks
Handling an expression is like Visiting a node in a graph using the visitor pattern. However, as the code in Linq's Expression trees isn't really capable of to be used with visitors (as the expression objects can't call a passed in visitor, as there's no mechanism to do so), the handler is placed outside the expression tree and not really in a visitor pattern way. This routine is the central dispatcher for the expression nodes found in the expression tree.
See Also