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.5.0.0 (5.5.18.1019)
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