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.3.0.0 (5.3.0)
Syntax protected virtual Expression HandleMethodCallCast(
MethodCallExpression expressionToHandle
)
Protected Overridable Function HandleMethodCallCast (
expressionToHandle As MethodCallExpression
) As Expression
Parameters
- expressionToHandle
- Type: System.Linq.ExpressionsMethodCallExpression
The expression to handle.
Return Value
Type:
ExpressionWhereExpression as a Cast is a typefilter for an entity type.
See Also