DefaultExpressionVisitor Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

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

System.Object
  System.Data.Common.CommandTrees.DbExpressionVisitor<TResultType>
    System.Data.Common.CommandTrees.DefaultExpressionVisitor

public class DefaultExpressionVisitor : DbExpressionVisitor<DbExpression>

NameDescription
System_CAPS_protmethodDefaultExpressionVisitor()

Initializes a new instance of the DefaultExpressionVisitor class.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnEnterScope(IEnumerable<DbVariableReferenceExpression>)

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

System_CAPS_protmethodOnExitScope()

Exits the scope for the expression visitor.

System_CAPS_protmethodOnExpressionReplaced(DbExpression, DbExpression)

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

System_CAPS_protmethodOnVariableRebound(DbVariableReferenceExpression, DbVariableReferenceExpression)

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodVisit(DbAndExpression)

Implements the visitor pattern for the logical AND expression.(Overrides DbExpressionVisitor<TResultType>.Visit(DbAndExpression).)

System_CAPS_pubmethodVisit(DbApplyExpression)

Implements the visitor pattern for the invocation of the specified function for each element in the specified input set.(Overrides DbExpressionVisitor<TResultType>.Visit(DbApplyExpression).)

System_CAPS_pubmethodVisit(DbArithmeticExpression)

Implements the visitor pattern for the arithmetic operation applied to numeric arguments.(Overrides DbExpressionVisitor<TResultType>.Visit(DbArithmeticExpression).)

System_CAPS_pubmethodVisit(DbCaseExpression)

Implements the visitor pattern for the When, Then, and Else clauses.(Overrides DbExpressionVisitor<TResultType>.Visit(DbCaseExpression).)

System_CAPS_pubmethodVisit(DbCastExpression)

Implements the visitor pattern for the type conversion of a single argument to the specified type.(Overrides DbExpressionVisitor<TResultType>.Visit(DbCastExpression).)

System_CAPS_pubmethodVisit(DbComparisonExpression)

Implements the visitor pattern for the comparison operation applied to two arguments.(Overrides DbExpressionVisitor<TResultType>.Visit(DbComparisonExpression).)

System_CAPS_pubmethodVisit(DbConstantExpression)

Implements the visitor pattern for the different kinds of constants.(Overrides DbExpressionVisitor<TResultType>.Visit(DbConstantExpression).)

System_CAPS_pubmethodVisit(DbCrossJoinExpression)

Implements the visitor pattern for the unconditional join operation between the given collection arguments.(Overrides DbExpressionVisitor<TResultType>.Visit(DbCrossJoinExpression).)

System_CAPS_pubmethodVisit(DbDerefExpression)

Implements the visitor pattern for the expression that retrieves an entity based on the specified reference.(Overrides DbExpressionVisitor<TResultType>.Visit(DbDerefExpression).)

System_CAPS_pubmethodVisit(DbDistinctExpression)

Implements the visitor pattern for the removed duplicate elements from the specified set argument.(Overrides DbExpressionVisitor<TResultType>.Visit(DbDistinctExpression).)

System_CAPS_pubmethodVisit(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.(Overrides DbExpressionVisitor<TResultType>.Visit(DbElementExpression).)

System_CAPS_pubmethodVisit(DbEntityRefExpression)

Implements the visitor pattern for the expression that extracts a reference from the underlying entity instance.(Overrides DbExpressionVisitor<TResultType>.Visit(DbEntityRefExpression).)

System_CAPS_pubmethodVisit(DbExceptExpression)

Implements the visitor pattern for the set subtraction operation between the left and right operands.(Overrides DbExpressionVisitor<TResultType>.Visit(DbExceptExpression).)

System_CAPS_pubmethodVisit(DbExpression)

Implements the visitor pattern for the basic functionality required by expression types.(Overrides DbExpressionVisitor<TResultType>.Visit(DbExpression).)

System_CAPS_pubmethodVisit(DbFilterExpression)

Implements the visitor pattern for a predicate applied to filter an input set.(Overrides DbExpressionVisitor<TResultType>.Visit(DbFilterExpression).)

System_CAPS_pubmethodVisit(DbFunctionExpression)

Implements the visitor pattern for an invocation of a function.(Overrides DbExpressionVisitor<TResultType>.Visit(DbFunctionExpression).)

System_CAPS_pubmethodVisit(DbGroupByExpression)

Implements the visitor pattern for a group by operation.(Overrides DbExpressionVisitor<TResultType>.Visit(DbGroupByExpression).)

System_CAPS_pubmethodVisit(DbIntersectExpression)

Implements the visitor pattern for the set intersection operation between the left and right operands.(Overrides DbExpressionVisitor<TResultType>.Visit(DbIntersectExpression).)

System_CAPS_pubmethodVisit(DbIsEmptyExpression)

Implements the visitor pattern for an empty set determination applied to a single set argument.(Overrides DbExpressionVisitor<TResultType>.Visit(DbIsEmptyExpression).)

System_CAPS_pubmethodVisit(DbIsNullExpression)

Implements the visitor pattern for the null determination applied to a single argument.(Overrides DbExpressionVisitor<TResultType>.Visit(DbIsNullExpression).)

System_CAPS_pubmethodVisit(DbIsOfExpression)

Implements the visitor pattern for the type comparison of a single argument against the specified type.(Overrides DbExpressionVisitor<TResultType>.Visit(DbIsOfExpression).)

System_CAPS_pubmethodVisit(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.(Overrides DbExpressionVisitor<TResultType>.Visit(DbJoinExpression).)

System_CAPS_pubmethodVisit(DbLambdaExpression)

Implements the visitor pattern for the application of a lambda function to arguments represented by DbExpression objects.(Overrides DbExpressionVisitor<TResultType>.Visit(DbLambdaExpression).)

System_CAPS_pubmethodVisit(DbLikeExpression)

Implements the visitor pattern for a string comparison against the specified pattern with an optional escape string.(Overrides DbExpressionVisitor<TResultType>.Visit(DbLikeExpression).)

System_CAPS_pubmethodVisit(DbLimitExpression)

Implements the visitor pattern for the restriction of the number of elements in the argument collection to the specified limit value.(Overrides DbExpressionVisitor<TResultType>.Visit(DbLimitExpression).)

System_CAPS_pubmethodVisit(DbNewInstanceExpression)

Implements the visitor pattern for the construction of a new instance of a given type, including set and record types.(Overrides DbExpressionVisitor<TResultType>.Visit(DbNewInstanceExpression).)

System_CAPS_pubmethodVisit(DbNotExpression)

Implements the visitor pattern for the logical NOT of a single Boolean argument.(Overrides DbExpressionVisitor<TResultType>.Visit(DbNotExpression).)

System_CAPS_pubmethodVisit(DbNullExpression)

Implements the visitor pattern for a reference to a typed null literal.(Overrides DbExpressionVisitor<TResultType>.Visit(DbNullExpression).)

System_CAPS_pubmethodVisit(DbOfTypeExpression)

Implements the visitor pattern for the retrieval of elements of the specified type from the given set argument.(Overrides DbExpressionVisitor<TResultType>.Visit(DbOfTypeExpression).)

System_CAPS_pubmethodVisit(DbOrExpression)

Implements the visitor pattern for the logical OR of two Boolean arguments.(Overrides DbExpressionVisitor<TResultType>.Visit(DbOrExpression).)

System_CAPS_pubmethodVisit(DbParameterReferenceExpression)

Implements the visitor pattern for a reference to a parameter declared on the command tree that contains this expression.(Overrides DbExpressionVisitor<TResultType>.Visit(DbParameterReferenceExpression).)

System_CAPS_pubmethodVisit(DbProjectExpression)

Implements the visitor pattern for the projection of a given input set over the specified expression.(Overrides DbExpressionVisitor<TResultType>.Visit(DbProjectExpression).)

System_CAPS_pubmethodVisit(DbPropertyExpression)

Implements the visitor pattern for retrieving an instance property.(Overrides DbExpressionVisitor<TResultType>.Visit(DbPropertyExpression).)

System_CAPS_pubmethodVisit(DbQuantifierExpression)

Implements the visitor pattern for a quantifier operation of the specified kind over the elements of the specified input set.(Overrides DbExpressionVisitor<TResultType>.Visit(DbQuantifierExpression).)

System_CAPS_pubmethodVisit(DbRefExpression)

Implements the visitor pattern for a strongly typed reference to a specific instance within an entity set.(Overrides DbExpressionVisitor<TResultType>.Visit(DbRefExpression).)

System_CAPS_pubmethodVisit(DbRefKeyExpression)

Implements the visitor pattern for the retrieval of the key value from the underlying reference value.(Overrides DbExpressionVisitor<TResultType>.Visit(DbRefKeyExpression).)

System_CAPS_pubmethodVisit(DbRelationshipNavigationExpression)

Implements the visitor pattern for the navigation of a relationship.(Overrides DbExpressionVisitor<TResultType>.Visit(DbRelationshipNavigationExpression).)

System_CAPS_pubmethodVisit(DbScanExpression)

Implements the visitor pattern for a scan over an entity set or relationship set, as indicated by the Target property.(Overrides DbExpressionVisitor<TResultType>.Visit(DbScanExpression).)

System_CAPS_pubmethodVisit(DbSkipExpression)

Implements the visitor pattern for the skip expression.(Overrides DbExpressionVisitor<TResultType>.Visit(DbSkipExpression).)

System_CAPS_pubmethodVisit(DbSortExpression)

Implements the visitor pattern for a sort key that can be used as part of the sort order.(Overrides DbExpressionVisitor<TResultType>.Visit(DbSortExpression).)

System_CAPS_pubmethodVisit(DbTreatExpression)

Implements the visitor pattern for a type conversion operation applied to a polymorphic argument.(Overrides DbExpressionVisitor<TResultType>.Visit(DbTreatExpression).)

System_CAPS_pubmethodVisit(DbUnionAllExpression)

Implements the visitor pattern for the set union operation between the left and right operands.(Overrides DbExpressionVisitor<TResultType>.Visit(DbUnionAllExpression).)

System_CAPS_pubmethodVisit(DbVariableReferenceExpression)

Implements the visitor pattern for a reference to a variable that is currently in scope.(Overrides DbExpressionVisitor<TResultType>.Visit(DbVariableReferenceExpression).)

System_CAPS_protmethodVisitAggregate(DbAggregate)

Implements the visitor pattern for the aggregate.

System_CAPS_protmethodVisitEntitySet(EntitySetBase)

Implements the visitor pattern for the entity set.

System_CAPS_protmethodVisitExpression(DbExpression)

Implements the visitor pattern for the expression.

System_CAPS_protmethodVisitExpressionBinding(DbExpressionBinding)

Implements the visitor pattern for expression binding.

System_CAPS_protmethodVisitExpressionBindingList(IList<DbExpressionBinding>)

Implements the visitor pattern for the expression binding list.

System_CAPS_protmethodVisitExpressionList(IList<DbExpression>)

Implements the visitor pattern for the expression list.

System_CAPS_protmethodVisitFunction(EdmFunction)

Implements the visitor pattern for the function.

System_CAPS_protmethodVisitFunctionAggregate(DbFunctionAggregate)

Implements the visitor pattern for the function aggregate.

System_CAPS_protmethodVisitGroupAggregate(DbGroupAggregate)

Implements the visitor pattern for the group aggregate.

System_CAPS_protmethodVisitGroupExpressionBinding(DbGroupExpressionBinding)

Implements the visitor pattern for the group expression binding.

System_CAPS_protmethodVisitLambda(DbLambda)

Implements the visitor pattern for the Lambda function.

System_CAPS_protmethodVisitSortClause(DbSortClause)

Implements the visitor pattern for the sort clause.

System_CAPS_protmethodVisitSortOrder(IList<DbSortClause>)

Implements the visitor pattern for the sort order.

System_CAPS_protmethodVisitType(EdmType)

Implements the visitor pattern for the type.

System_CAPS_protmethodVisitTypeUsage(TypeUsage)

Implements the visitor pattern for the type usage.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: