共用方式為


DefaultExpressionVisitor.OnExpressionReplaced 方法

定義

以運算式訪問項的新運算式取代舊運算式。

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)

參數

oldExpression
DbExpression

舊運算式。

newExpression
DbExpression

新的運算式。

適用於