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
)
Protected Overridable Function HandleMethodCallFirstSingle (
expressionToHandle As MethodCallExpression,
isSingle As Boolean,
isDefault As Boolean
) As Expression
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:
ExpressionSelectExpression
See Also