Share via


DbExpressionRebinder Class

Definition

Ensures that all metadata in a given expression tree is from the specified metadata workspace, potentially rebinding and rebuilding the expressions to appropriate replacement metadata where necessary.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Rebinder")]
public class DbExpressionRebinder : System.Data.Entity.Core.Common.CommandTrees.DefaultExpressionVisitor
type DbExpressionRebinder = class
    inherit DefaultExpressionVisitor
Public Class DbExpressionRebinder
Inherits DefaultExpressionVisitor
Inheritance
Attributes

Constructors

DbExpressionRebinder(MetadataWorkspace)

Initializes a new instance of the DbExpressionRebinder class.

Methods

OnEnterScope(IEnumerable<DbVariableReferenceExpression>)

Represents an event when entering the scope for the expression visitor with specified scope variables.

(Inherited from DefaultExpressionVisitor)
OnExitScope()

Exits the scope for the expression visitor.

(Inherited from DefaultExpressionVisitor)
OnExpressionReplaced(DbExpression, DbExpression)

Replaces an old expression with a new one for the expression visitor.

(Inherited from DefaultExpressionVisitor)
OnVariableRebound(DbVariableReferenceExpression, DbVariableReferenceExpression)

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

(Inherited from DefaultExpressionVisitor)
Visit(DbAndExpression)

Implements the visitor pattern for the logical AND expression.

(Inherited from DefaultExpressionVisitor)
Visit(DbApplyExpression)

Implements the visitor pattern for the invocation of the specified function for each element in the specified input set.

(Inherited from DefaultExpressionVisitor)
Visit(DbArithmeticExpression)

Implements the visitor pattern for the arithmetic operation applied to numeric arguments.

(Inherited from DefaultExpressionVisitor)
Visit(DbCaseExpression)

Implements the visitor pattern for the When, Then, and Else clauses.

(Inherited from DefaultExpressionVisitor)
Visit(DbCastExpression)

Implements the visitor pattern for the type conversion of a single argument to the specified type.

(Inherited from DefaultExpressionVisitor)
Visit(DbComparisonExpression)

Implements the visitor pattern for the comparison operation applied to two arguments.

(Inherited from DefaultExpressionVisitor)
Visit(DbConstantExpression)

Implements the visitor pattern for the different kinds of constants.

(Inherited from DefaultExpressionVisitor)
Visit(DbCrossJoinExpression)

Implements the visitor pattern for the unconditional join operation between the given collection arguments.

(Inherited from DefaultExpressionVisitor)
Visit(DbDerefExpression)

Implements the visitor pattern for the expression that retrieves an entity based on the specified reference.

(Inherited from DefaultExpressionVisitor)
Visit(DbDistinctExpression)

Implements the visitor pattern for the removed duplicate elements from the specified set argument.

(Inherited from DefaultExpressionVisitor)
Visit(DbElementExpression)

Implements the visitor pattern for the conversion of the specified set argument to a singleton the conversion of the specified set argument to a singleton.

(Inherited from DefaultExpressionVisitor)
Visit(DbEntityRefExpression)

Implements the visitor pattern for the expression that extracts a reference from the underlying entity instance.

(Inherited from DefaultExpressionVisitor)
Visit(DbExceptExpression)

Implements the visitor pattern for the set subtraction operation between the left and right operands.

(Inherited from DefaultExpressionVisitor)
Visit(DbExpression)

Implements the visitor pattern for the basic functionality required by expression types.

(Inherited from DefaultExpressionVisitor)
Visit(DbFilterExpression)

Implements the visitor pattern for a predicate applied to filter an input set.

(Inherited from DefaultExpressionVisitor)
Visit(DbFunctionExpression)

Implements the visitor pattern for an invocation of a function.

(Inherited from DefaultExpressionVisitor)
Visit(DbGroupByExpression)

Implements the visitor pattern for a group by operation.

(Inherited from DefaultExpressionVisitor)
Visit(DbInExpression)

Implements the visitor pattern for the DbInExpression.

(Inherited from DefaultExpressionVisitor)
Visit(DbIntersectExpression)

Implements the visitor pattern for the set intersection operation between the left and right operands.

(Inherited from DefaultExpressionVisitor)
Visit(DbIsEmptyExpression)

Implements the visitor pattern for an empty set determination applied to a single set argument.

(Inherited from DefaultExpressionVisitor)
Visit(DbIsNullExpression)

Implements the visitor pattern for the null determination applied to a single argument.

(Inherited from DefaultExpressionVisitor)
Visit(DbIsOfExpression)

Implements the visitor pattern for the type comparison of a single argument against the specified type.

(Inherited from DefaultExpressionVisitor)
Visit(DbJoinExpression)

Implements the visitor pattern for an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition.

(Inherited from DefaultExpressionVisitor)
Visit(DbLambdaExpression)

Implements the visitor pattern for the application of a lambda function to arguments represented by DbExpression objects.

(Inherited from DefaultExpressionVisitor)
Visit(DbLikeExpression)

Implements the visitor pattern for a string comparison against the specified pattern with an optional escape string.

(Inherited from DefaultExpressionVisitor)
Visit(DbLimitExpression)

Implements the visitor pattern for the restriction of the number of elements in the argument collection to the specified limit value.

(Inherited from DefaultExpressionVisitor)
Visit(DbNewInstanceExpression)

Implements the visitor pattern for the construction of a new instance of a given type, including set and record types.

(Inherited from DefaultExpressionVisitor)
Visit(DbNotExpression)

Implements the visitor pattern for the logical NOT of a single Boolean argument.

(Inherited from DefaultExpressionVisitor)
Visit(DbNullExpression)

Implements the visitor pattern for a reference to a typed null literal.

(Inherited from DefaultExpressionVisitor)
Visit(DbOfTypeExpression)

Implements the visitor pattern for the retrieval of elements of the specified type from the given set argument.

(Inherited from DefaultExpressionVisitor)
Visit(DbOrExpression)

Implements the visitor pattern for the logical OR of two Boolean arguments.

(Inherited from DefaultExpressionVisitor)
Visit(DbParameterReferenceExpression)

Implements the visitor pattern for a reference to a parameter declared on the command tree that contains this expression.

(Inherited from DefaultExpressionVisitor)
Visit(DbProjectExpression)

Implements the visitor pattern for the projection of a given input set over the specified expression.

(Inherited from DefaultExpressionVisitor)
Visit(DbPropertyExpression)

Implements the visitor pattern for retrieving an instance property.

Visit(DbQuantifierExpression)

Implements the visitor pattern for a quantifier operation of the specified kind over the elements of the specified input set.

(Inherited from DefaultExpressionVisitor)
Visit(DbRefExpression)

Implements the visitor pattern for a strongly typed reference to a specific instance within an entity set.

(Inherited from DefaultExpressionVisitor)
Visit(DbRefKeyExpression)

Implements the visitor pattern for the retrieval of the key value from the underlying reference value.

(Inherited from DefaultExpressionVisitor)
Visit(DbRelationshipNavigationExpression)

Implements the visitor pattern for the navigation of a relationship.

(Inherited from DefaultExpressionVisitor)
Visit(DbScanExpression)

Implements the visitor pattern for a scan over an entity set or relationship set, as indicated by the Target property.

(Inherited from DefaultExpressionVisitor)
Visit(DbSkipExpression)

Implements the visitor pattern for the skip expression.

(Inherited from DefaultExpressionVisitor)
Visit(DbSortExpression)

Implements the visitor pattern for a sort key that can be used as part of the sort order.

(Inherited from DefaultExpressionVisitor)
Visit(DbTreatExpression)

Implements the visitor pattern for a type conversion operation applied to a polymorphic argument.

(Inherited from DefaultExpressionVisitor)
Visit(DbUnionAllExpression)

Implements the visitor pattern for the set union operation between the left and right operands.

(Inherited from DefaultExpressionVisitor)
Visit(DbVariableReferenceExpression)

Implements the visitor pattern for a reference to a variable that is currently in scope.

(Inherited from DefaultExpressionVisitor)
VisitAggregate(DbAggregate)

Implements the visitor pattern for the aggregate.

(Inherited from DefaultExpressionVisitor)
VisitEntitySet(EntitySetBase)

Implements the visitor pattern for the entity set.

VisitExpression(DbExpression)

Implements the visitor pattern for the expression.

(Inherited from DefaultExpressionVisitor)
VisitExpressionBinding(DbExpressionBinding)

Implements the visitor pattern for expression binding.

(Inherited from DefaultExpressionVisitor)
VisitExpressionBindingList(IList<DbExpressionBinding>)

Implements the visitor pattern for the expression binding list.

(Inherited from DefaultExpressionVisitor)
VisitExpressionList(IList<DbExpression>)

Implements the visitor pattern for the expression list.

(Inherited from DefaultExpressionVisitor)
VisitFunction(EdmFunction)

Implements the visitor pattern for the function.

VisitFunctionAggregate(DbFunctionAggregate)

Implements the visitor pattern for the function aggregate.

(Inherited from DefaultExpressionVisitor)
VisitGroupAggregate(DbGroupAggregate)

Implements the visitor pattern for the group aggregate.

(Inherited from DefaultExpressionVisitor)
VisitGroupExpressionBinding(DbGroupExpressionBinding)

Implements the visitor pattern for the group expression binding.

(Inherited from DefaultExpressionVisitor)
VisitLambda(DbLambda)

Implements the visitor pattern for the Lambda function.

(Inherited from DefaultExpressionVisitor)
VisitSortClause(DbSortClause)

Implements the visitor pattern for the sort clause.

(Inherited from DefaultExpressionVisitor)
VisitSortOrder(IList<DbSortClause>)

Implements the visitor pattern for the sort order.

(Inherited from DefaultExpressionVisitor)
VisitType(EdmType)

Implements the visitor pattern for the type.

VisitTypeUsage(TypeUsage)

Implements the visitor pattern for the type usage.

Applies to