Click or drag to resize

GeneralUtils.CreateClassicValueReaderForProjections 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: System.Type
Type of the target.
indexValueObtainer
Type: System.Linq.Expressions.Expression
The index value obtainer.
projectionRowParameter
Type: System.Linq.Expressions.ParameterExpression
The projection row parameter.
indexerGetMethod
Type: System.Reflection.MethodInfo
The indexer get method.
convertChangeTypeMethod
Type: System.Reflection.MethodInfo
The convert change type method.

Return Value

Type: Expression
See Also