FilterOperatorExtensions.GetExpression method

Builds an Expression for the FilterOperator using the supplied MemberExpression and ConstantExpression as the operands.

public static Expression GetExpression(this FilterOperator filterOperator, 
    MemberExpression propertyAccess, ConstantExpression value)
parameterdescription
filterOperatorThe FilterOperator
propertyAccessThe MemberExpression that accesses the property mapped to the filter condition.
valueThe ConstantExpression with the filter value.

Return Value

The built Expression

See Also