Click or drag to resize

LinqUtilsObtainRealValueFromConstantWrapped Method

Obtains the real value from constant expression and wrap it again in a ConstantExpression. The 'real' value is the value of the object referred to by the constant, e.g. an object property.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public static Expression ObtainRealValueFromConstantWrapped(
	MemberExpression expressionToHandle,
	Expression memberContainer
)

Parameters

expressionToHandle
Type: System.Linq.ExpressionsMemberExpression
The expression to handle.
memberContainer
Type: System.Linq.ExpressionsExpression
The member container.

Return Value

Type: Expression
See Also