Click or drag to resize

PreProcessorHandleMethodCallOfType Method

Handles the method call expression for a call to Queryable.OfType. This method call is used to filter on a given entity type.

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 HandleMethodCallOfType(
	MethodCallExpression expressionToHandle
)

Parameters

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

Return Value

Type: Expression
WhereExpression, as an OfType call is a typefilter for an entity.
See Also