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.11.0.0 (5.11.23.1114)
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