DefaultExpressionVisitor.OnVariableRebound Method (DbVariableReferenceExpression, DbVariableReferenceExpression)

 

Represents an event when the variable is rebound for the expression visitor.

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", 
	MessageId = "toVar")]
protected virtual void OnVariableRebound(
	DbVariableReferenceExpression fromVarRef,
	DbVariableReferenceExpression toVarRef
)

Parameters

fromVarRef
Type: System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression

The location of the variable.

toVarRef
Type: System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression

The reference of the variable where it is rebounded.