แก้ไข

แชร์ผ่าน


DefaultExpressionVisitor Class

Definition

Visits each element of an expression tree from a given root expression. If any element changes, the tree is rebuilt back to the root and the new root expression is returned; otherwise the original root expression is returned.

public ref class DefaultExpressionVisitor : System::Data::Common::CommandTrees::DbExpressionVisitor<System::Data::Common::CommandTrees::DbExpression ^>
public class DefaultExpressionVisitor : System.Data.Common.CommandTrees.DbExpressionVisitor<System.Data.Common.CommandTrees.DbExpression>
type DefaultExpressionVisitor = class
    inherit DbExpressionVisitor<DbExpression>
Public Class DefaultExpressionVisitor
Inherits DbExpressionVisitor(Of DbExpression)
Inheritance
DefaultExpressionVisitor

Constructors

DefaultExpressionVisitor()

Initializes a new instance of the DefaultExpressionVisitor class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnEnterScope(IEnumerable<DbVariableReferenceExpression>)

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

OnExitScope()

Exits the scope for the expression visitor.

OnExpressionReplaced(DbExpression, DbExpression)

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

OnVariableRebound(DbVariableReferenceExpression, DbVariableReferenceExpression)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)
Visit(DbAndExpression)

Implements the visitor pattern for the logical AND expression.

Visit(DbApplyExpression)

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

Visit(DbArithmeticExpression)

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

Visit(DbCaseExpression)

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

Visit(DbCastExpression)

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

Visit(DbComparisonExpression)

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

Visit(DbConstantExpression)

Implements the visitor pattern for the different kinds of constants.

Visit(DbCrossJoinExpression)

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

Visit(DbDerefExpression)

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

Visit(DbDistinctExpression)

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

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.

Visit(DbEntityRefExpression)

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

Visit(DbExceptExpression)

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

Visit(DbExpression)

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

Visit(DbFilterExpression)

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

Visit(DbFunctionExpression)

Implements the visitor pattern for an invocation of a function.

Visit(DbGroupByExpression)

Implements the visitor pattern for a group by operation.

Visit(DbIntersectExpression)

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

Visit(DbIsEmptyExpression)

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

Visit(DbIsNullExpression)

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

Visit(DbIsOfExpression)

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

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.

Visit(DbLambdaExpression)

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

Visit(DbLikeExpression)

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

Visit(DbLimitExpression)

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

Visit(DbNewInstanceExpression)

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

Visit(DbNotExpression)

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

Visit(DbNullExpression)

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

Visit(DbOfTypeExpression)

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

Visit(DbOrExpression)

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

Visit(DbParameterReferenceExpression)

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

Visit(DbProjectExpression)

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

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.

Visit(DbRefExpression)

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

Visit(DbRefKeyExpression)

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

Visit(DbRelationshipNavigationExpression)

Implements the visitor pattern for the navigation of a relationship.

Visit(DbScanExpression)

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

Visit(DbSkipExpression)

Implements the visitor pattern for the skip expression.

Visit(DbSortExpression)

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

Visit(DbTreatExpression)

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

Visit(DbUnionAllExpression)

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

Visit(DbVariableReferenceExpression)

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

VisitAggregate(DbAggregate)

Implements the visitor pattern for the aggregate.

VisitEntitySet(EntitySetBase)

Implements the visitor pattern for the entity set.

VisitExpression(DbExpression)

Implements the visitor pattern for the expression.

VisitExpressionBinding(DbExpressionBinding)

Implements the visitor pattern for expression binding.

VisitExpressionBindingList(IList<DbExpressionBinding>)

Implements the visitor pattern for the expression binding list.

VisitExpressionList(IList<DbExpression>)

Implements the visitor pattern for the expression list.

VisitFunction(EdmFunction)

Implements the visitor pattern for the function.

VisitFunctionAggregate(DbFunctionAggregate)

Implements the visitor pattern for the function aggregate.

VisitGroupAggregate(DbGroupAggregate)

Implements the visitor pattern for the group aggregate.

VisitGroupExpressionBinding(DbGroupExpressionBinding)

Implements the visitor pattern for the group expression binding.

VisitLambda(DbLambda)

Implements the visitor pattern for the Lambda function.

VisitSortClause(DbSortClause)

Implements the visitor pattern for the sort clause.

VisitSortOrder(IList<DbSortClause>)

Implements the visitor pattern for the sort order.

VisitType(EdmType)

Implements the visitor pattern for the type.

VisitTypeUsage(TypeUsage)

Implements the visitor pattern for the type usage.

Applies to