PreProcessorHandleExcludeIncludeFieldsMethodCall Method |
Handles the method calls to IQueryable.ExcludeFields or IQueryable.IncludeFields
Namespace:
SD.LLBLGen.Pro.LinqSupportClasses.ExpressionHandlers
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax protected virtual Expression HandleExcludeIncludeFieldsMethodCall(
MethodCallExpression expressionToHandle,
bool containsExcludedFields
)
Protected Overridable Function HandleExcludeIncludeFieldsMethodCall (
expressionToHandle As MethodCallExpression,
containsExcludedFields As Boolean
) As Expression
Parameters
- expressionToHandle
- Type: System.Linq.ExpressionsMethodCallExpression
The expression to handle. - containsExcludedFields
- Type: SystemBoolean
if set to true, the method call was ExcludeFields, otherwise IncludeFields
Return Value
Type:
ExpressionExcludeIncludeFieldsExpression
See Also