Click or drag to resize

PreProcessor Class

Specific expression handler which converts various method calls into their special Expression classes and it also collects and assigns source - alias combinations.
Inheritance Hierarchy

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
public class PreProcessor : GenericExpressionHandler

The PreProcessor type exposes the following members.

Constructors
  NameDescription
Public methodPreProcessor
Initializes a new instance of the PreProcessor class.
Top
Properties
  NameDescription
Protected propertyFrameworkElementCreator
Gets the framework element creator.
(Inherited from GenericExpressionHandler.)
Protected propertyFunctionMappings
Gets the function mappings.
(Inherited from GenericExpressionHandler.)
Protected propertyGeneratedCodeElementCreator
Gets the generated code element creator.
(Inherited from GenericExpressionHandler.)
Protected propertyTrackedMappings
Gets the mappings of various objects defined during the process operations of the expression tree.
(Inherited from GenericExpressionHandler.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindFunctionMapping(MemberInfo)
Finds the function mapping associated with the property specified.
(Inherited from GenericExpressionHandler.)
Public methodFindFunctionMapping(MethodInfo)
Finds the function mapping associated with the method/function specified.
(Inherited from GenericExpressionHandler.)
Protected methodFindFunctionMapping(String, Type, Int32)
Finds the function mapping associated with the method/function specified.
(Inherited from GenericExpressionHandler.)
Protected methodFindGroupJoinExpressionAsCopy
Finds the group join expression using the alias of the right side. It then creates a copy of it (and its contents) so the caller can manipulate it.
(Inherited from GenericExpressionHandler.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleAggregateExpression
Handles the aggregate expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleAggregateFunctionMethodCall
Handles the method call expression for a call to Queryable.Count.
Protected methodHandleAllAnyExpression
Handles all any expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleBinaryExpression
Handles the binary expression.
(Overrides GenericExpressionHandlerHandleBinaryExpression(BinaryExpression).)
Protected methodHandleBinaryExpressionArithmeticOrBitOperator
Handles the binary expression with arithmetic or bit operator.
(Inherited from GenericExpressionHandler.)
Protected methodHandleBinaryExpressionBooleanOperator
Handles the binary expression with a boolean operator.
(Inherited from GenericExpressionHandler.)
Protected methodHandleConditionalExpression
Handles the conditional expression.
(Overrides GenericExpressionHandlerHandleConditionalExpression(ConditionalExpression).)
Protected methodHandleConstantExpression
Handles the constant expression.
(Overrides GenericExpressionHandlerHandleConstantExpression(ConstantExpression).)
Protected methodHandleContainsExpression
Handles the contains expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleDbFunctionCallExpression
Handles the db function call expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleDefaultIfEmptyExpression
Handles the default if empty expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleElementInitializer
Handles the element initializer.
(Inherited from GenericExpressionHandler.)
Protected methodHandleElementInitializerList
Handles the element initializer list.
(Inherited from GenericExpressionHandler.)
Protected methodHandleEntityExpression
Handles the entity expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleEntityFieldExpression
Handles the entity field expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleExceptIntersectExpression
Handles the except expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleExcludeIncludeFieldsExpression
Handles the exclude include fields expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleExcludeIncludeFieldsMethodCall
Handles the method calls to IQueryable.ExcludeFields or IQueryable.IncludeFields
Public methodHandleExpression
Handles the expression.
(Overrides GenericExpressionHandlerHandleExpression(Expression).)
Protected methodHandleExpressionList
Handles the expression list.
(Inherited from GenericExpressionHandler.)
Protected methodHandleGroupByExpression
Handles the group by expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleGroupByKeyReferenceExpression
Handles the group by key reference expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleGroupJoinExpression
Handles the groupjoin expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleInClauseExpression
Handles the in clause expression, which is an expression representing a call to Contains on a list of values.
(Inherited from GenericExpressionHandler.)
Protected methodHandleInMemoryEvalCandidateExpression
Handles the in memory eval candidate expression.
(Overrides GenericExpressionHandlerHandleInMemoryEvalCandidateExpression(InMemoryEvalCandidateExpression).)
Protected methodHandleInvocationExpression
Handles the invocation expression.
(Overrides GenericExpressionHandlerHandleInvocationExpression(InvocationExpression).)
Protected methodHandleJoinExpression
Handles the join expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleJoinResultExpression
Handles the JoinResult expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleLambdaExpression
Handles the lambda expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleLikeExpression
Handles the like expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleLinqExpressionAsSetExpression
Handles the LinqExpression as set expression.
(Overrides GenericExpressionHandlerHandleLinqExpressionAsSetExpression(LinqExpressionAsSetExpression).)
Protected methodHandleListInitExpression
Handles the list init expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleLLBLGenProExpressionExpression
Handles the LLBLGenProExpressionExpression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleMemberAssignment
Handles the member assignment.
(Inherited from GenericExpressionHandler.)
Protected methodHandleMemberBinding
Handles the member binding.
(Inherited from GenericExpressionHandler.)
Protected methodHandleMemberBindingList
Handles the member binding list.
(Inherited from GenericExpressionHandler.)
Protected methodHandleMemberExpression
Handles the access to a member of a type or instance. This version only converts member access to objects into constants.
(Overrides GenericExpressionHandlerHandleMemberExpression(MemberExpression).)
Protected methodHandleMemberInitExpression
Handles the member init expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleMemberListBinding
Handles the member list binding.
(Inherited from GenericExpressionHandler.)
Protected methodHandleMemberMemberBinding
Handles the member member binding.
(Inherited from GenericExpressionHandler.)
Protected methodHandleMethodCallAllAny
Handles the method call expression for a call to Queryable.All or Queryable.Any.
Protected methodHandleMethodCallCacheResultset
Handles the method call expression for a call to Queryable.CacheResultset.
Protected methodHandleMethodCallCast
Handles the method call expression for a call to Queryable.Cast. This method call is used to cast from one entity type to another. All other casts in a query are done by Convert.
Protected methodHandleMethodCallContains
Handles the method call expression for a call to a Contains method, be it on Queryable, IList, string or other type.
Protected methodHandleMethodCallDefaultIfEmpty
Handles the method call expression for a call to Queryable.DefaultIfEmpty.
Protected methodHandleMethodCallDistinct
Handles the method call expression for a call to Queryable.Distinct.
Protected methodHandleMethodCallElementAt
Handles the method call expression for a call to Queryable.ElementAt(OrDefault). This is handled by doing a page fetch of size 1. The page number is the parameter value specified (+1, as ElementAt is 0 based).
Protected methodHandleMethodCallEquals
Handles the call to the method Equals, in whatever type it is defined in.
Protected methodHandleMethodCallExceptIntersect
Handles the method call expression for a call to Queryable.Except or to Queryable.Intersect
Protected methodHandleMethodCallExpression
Handles the method call expression.
(Overrides GenericExpressionHandlerHandleMethodCallExpression(MethodCallExpression).)
Protected methodHandleMethodCallFirstSingle
Handles the method call expression for a call to Queryable.First.
Protected methodHandleMethodCallForTemporalPredicate
Handles the method call expression for a call to Queryable.WithHint
Protected methodHandleMethodCallGroupBy
Handles the method call expression for a call to Queryable.GroupBy if an element selector has been specified, it can be ignored. If a projection has been specified, this groupby marks a scope.
Protected methodHandleMethodCallGroupJoin
Handles the method call expression for a call to Queryable.GroupJoin
Protected methodHandleMethodCallJoin
Handles the method call expression for a call to Queryable.Join
Protected methodHandleMethodCallMarkWithTag
Handles the method call expression for a call to Queryable.MarkWithTag.
Protected methodHandleMethodCallOfType
Handles the method call expression for a call to Queryable.OfType. This method call is used to filter on a given entity type.
Protected methodHandleMethodCallSelect
Handles the method call expression for a call to Queryable.Select.
Protected methodHandleMethodCallSelectMany
Handles the method call expression for a call to Queryable.SelectMany
Protected methodHandleMethodCallSkip
Handles the method call expression for a call to Queryable.Skip.
Protected methodHandleMethodCallTake
Handles the method call expression for a call to Queryable.Take.
Protected methodHandleMethodCallTakePage
Handles the method call expression for a call to Queryable.TakePage. TakePage is our own extension method for Queryable.
Protected methodHandleMethodCallWhere
Handles the method call expression for a call to Queryable.Where.
Protected methodHandleMethodCallWithHint
Handles the method call expression for a call to Queryable.WithHint
Protected methodHandleMethodCallWithPath
Handles the method call expression for a call to Queryable.WithPath
Protected methodHandleNewArrayExpression
Handles the new array expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleNewExpression
Handles the NewExpression expression
(Overrides GenericExpressionHandlerHandleNewExpression(NewExpression).)
Protected methodHandleParameterExpression
Handles the parameter expression.
(Overrides GenericExpressionHandlerHandleParameterExpression(ParameterExpression).)
Protected methodHandlePathEdgeExpression
Handles the path edge expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandlePrefetchPathExpression
Handles the prefetch path expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleProjectionExpression
Handles the projection expression
(Inherited from GenericExpressionHandler.)
Protected methodHandleQueryExpression
Handles the query expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleSelectExpression
Handles the select expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleSetReferenceExpression
Handles the set reference expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleSortClauseExpression
Handles the sort clause expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleSortClauseMethodCall
Handles the method call expression for a call to OrderBy, OrderByDescending, ThenBy and ThenByDescending
Protected methodHandleTypeBinaryExpression
Handles the type binary expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleTypedViewExpression
Handles the typed view expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleUnaryArrayLength
Handles the length of the unary array.
(Overrides GenericExpressionHandlerHandleUnaryArrayLength(UnaryExpression).)
Protected methodHandleUnaryConvertExpression
Handles the unary convert expression.
(Overrides GenericExpressionHandlerHandleUnaryConvertExpression(UnaryExpression).)
Protected methodHandleUnaryExpression
Handles the unary expression.
(Overrides GenericExpressionHandlerHandleUnaryExpression(UnaryExpression).)
Protected methodHandleUnaryNotExpression
Handles the unary expression of type 'Not'.
(Inherited from GenericExpressionHandler.)
Protected methodHandleUnaryTypeAsExpression
Handles the unary type as expression.
(Inherited from GenericExpressionHandler.)
Protected methodHandleUnionList
Handles the specified unionlist and its contained set expressions. Will return a new list if one or more set expressions changed after handling.
(Inherited from GenericExpressionHandler.)
Protected methodHandleWhereExpression
Handles the where expression.
(Inherited from GenericExpressionHandler.)
Protected methodMakeSet
Converts the expression passed in to a SetExpression, if it's not already a set.
(Inherited from GenericExpressionHandler.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTraceLine
Traces the line.
(Inherited from GenericExpressionHandler.)
Protected methodTraceScopeEnd
Traces the scope end.
(Inherited from GenericExpressionHandler.)
Protected methodTraceScopeStart
Traces the scope start.
(Inherited from GenericExpressionHandler.)
Top
Remarks
This is the first step in the evaluation of the expression tree.
See Also