Click or drag to resize

PreProcessorHandleMethodCallCast Method

Handles the method call expression for a call to Queryable.Cast. This method call is used to cast from one entity type to another. All other casts in a query are done by Convert.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.ExpressionHandlers
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
protected virtual Expression HandleMethodCallCast(
	MethodCallExpression expressionToHandle
)

Parameters

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

Return Value

Type: Expression
WhereExpression as a Cast is a typefilter for an entity type.
See Also