DefaultExpressionVisitor.OnExpressionReplaced 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將舊的表達式替換為表達式訪客的新表達。
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
新的表情。