共用方式為


DefaultExpressionVisitor.OnVariableRebound 方法

定義

表示變數因為運算式訪問項而重新繫結的事件。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId="toVar")]
protected virtual void OnVariableRebound(System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression fromVarRef, System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression toVarRef);
abstract member OnVariableRebound : System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression * System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression -> unit
override this.OnVariableRebound : System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression * System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression -> unit
Protected Overridable Sub OnVariableRebound (fromVarRef As DbVariableReferenceExpression, toVarRef As DbVariableReferenceExpression)

參數

fromVarRef
DbVariableReferenceExpression

變數的位置。

toVarRef
DbVariableReferenceExpression

變數的參考,它會在此重新繫結。

屬性

適用於