DefaultExpressionVisitor.OnExpressionReplaced Method (DbExpression, DbExpression)
Replaces an old expression with a new one for the expression visitor.
Assembly: EntityFramework (in EntityFramework.dll)
protected virtual void OnExpressionReplaced( DbExpression oldExpression, DbExpression newExpression )
Parameters
- oldExpression
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpression
The old expression.
- newExpression
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpression
The new expression.