Click or drag to resize

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.4.0.0 (5.4.0)
Syntax
public static Expression CreateClassicValueReaderForProjections(
	Type targetType,
	Expression indexValueObtainer,
	ParameterExpression projectionRowParameter,
	MethodInfo indexerGetMethod,
	MethodInfo convertChangeTypeMethod
)

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: Expression
See Also