Click or drag to resize
PreProcessorHandleMethodCallFirstSingle Method
Handles the method call expression for a call to Queryable.First.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses.ExpressionHandlers
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
protected virtual Expression HandleMethodCallFirstSingle(
	MethodCallExpression expressionToHandle,
	bool isSingle,
	bool isDefault
)

Parameters

expressionToHandle
Type: System.Linq.ExpressionsMethodCallExpression
The expression to handle.
isSingle
Type: SystemBoolean
if set to true, the call is a call to Queryable.Single, otherwise a call to Queryable.First
isDefault
Type: SystemBoolean
if set to true, the call is a call to Queryable.SingleOrDefault or Queryable.FirstOrDefault

Return Value

Type: Expression
SelectExpression
See Also