Click or drag to resize

LinqUtilsRemoveUnaryQuoteExpressionWrappers Method

Removes the unary quote expression wrappers. Some unary expressions are wrapped in Unary expressions which are of type Quote, and which simply wrap an inner expression. This method unwraps the inner expression, as we're not interested in the wrapper.

Namespace:  SD.LLBLGen.Pro.LinqSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static Expression RemoveUnaryQuoteExpressionWrappers(
	Expression toUnwrap
)

Parameters

toUnwrap
Type: System.Linq.ExpressionsExpression
To unwrap.

Return Value

Type: Expression
the inner expression without the quote wrapper(s). if there are more nested quote wrappers, all are removed.
See Also