GeneralUtilsCreateClassicValueReaderForProjections Method |
Creates the classic value reader for projections. The expression returned is projectionRowParameter[indexValueObtainer].
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax public static Expression CreateClassicValueReaderForProjections(
Type targetType,
Expression indexValueObtainer,
ParameterExpression projectionRowParameter,
MethodInfo indexerGetMethod,
MethodInfo convertChangeTypeMethod
)
Public Shared Function CreateClassicValueReaderForProjections (
targetType As Type,
indexValueObtainer As Expression,
projectionRowParameter As ParameterExpression,
indexerGetMethod As MethodInfo,
convertChangeTypeMethod As MethodInfo
) As Expression
Parameters
- targetType
- Type: SystemType
Type of the target. - indexValueObtainer
- Type: System.Linq.ExpressionsExpression
The index value obtainer. - projectionRowParameter
- Type: System.Linq.ExpressionsParameterExpression
The projection row parameter. - indexerGetMethod
- Type: System.ReflectionMethodInfo
The indexer get method. - convertChangeTypeMethod
- Type: System.ReflectionMethodInfo
The convert change type method.
Return Value
Type:
ExpressionSee Also