Edit

Share via


DefaultExpressionVisitor.OnExpressionReplaced Method

Definition

Replaces an old expression with a new one for the expression visitor.

protected:
 virtual void OnExpressionReplaced(System::Data::Common::CommandTrees::DbExpression ^ oldExpression, System::Data::Common::CommandTrees::DbExpression ^ newExpression);
protected virtual void OnExpressionReplaced (System.Data.Common.CommandTrees.DbExpression oldExpression, System.Data.Common.CommandTrees.DbExpression newExpression);
abstract member OnExpressionReplaced : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> unit
override this.OnExpressionReplaced : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> unit
Protected Overridable Sub OnExpressionReplaced (oldExpression As DbExpression, newExpression As DbExpression)

Parameters

oldExpression
DbExpression

The old expression.

newExpression
DbExpression

The new expression.

Applies to