Edit

Share via


CompiledDataContext.RewriteExpressionTree(Expression) Method

Definition

Rewrites the expression used by the data context.

protected:
 System::Linq::Expressions::Expression ^ RewriteExpressionTree(System::Linq::Expressions::Expression ^ originalExpression);
protected System.Linq.Expressions.Expression RewriteExpressionTree (System.Linq.Expressions.Expression originalExpression);
member this.RewriteExpressionTree : System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Protected Function RewriteExpressionTree (originalExpression As Expression) As Expression

Parameters

originalExpression
Expression

The original expression to be rewritten.

Returns

The rewritten expression.

Applies to