Share via


DefaultExpressionVisitor.OnExpressionReplaced Method

Definition

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

protected virtual void OnExpressionReplaced (System.Data.Entity.Core.Common.CommandTrees.DbExpression oldExpression, System.Data.Entity.Core.Common.CommandTrees.DbExpression newExpression);
abstract member OnExpressionReplaced : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> unit
override this.OnExpressionReplaced : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.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