PreProcessorHandleExcludeIncludeFieldsMethodCall Method |
Handles the method calls to IQueryable.ExcludeFields or IQueryable.IncludeFields
Namespace: SD.LLBLGen.Pro.LinqSupportClasses.ExpressionHandlersAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
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