Share via


DefaultExpressionVisitor.Visit Method

Definition

Overloads

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(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(DbRefKeyExpression)

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

Visit(DbRefExpression)

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

Visit(DbLambdaExpression)

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

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.

Visit(DbQuantifierExpression)

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

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(DbNewInstanceExpression)

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

Visit(DbIsNullExpression)

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

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(DbIsOfExpression)

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

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(DbCaseExpression)

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

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(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(DbInExpression)

Implements the visitor pattern for the DbInExpression.

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(DbLikeExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbLikeExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbLikeExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbLikeExpression) As DbExpression

Parameters

expression
DbLikeExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbLimitExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbLimitExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbLimitExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbLimitExpression) As DbExpression

Parameters

expression
DbLimitExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbNotExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbNotExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbNotExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbNotExpression) As DbExpression

Parameters

expression
DbNotExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbNullExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbNullExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbNullExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbNullExpression) As DbExpression

Parameters

expression
DbNullExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbOfTypeExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbOfTypeExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbOfTypeExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbOfTypeExpression) As DbExpression

Parameters

expression
DbOfTypeExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbOrExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbOrExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbOrExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbOrExpression) As DbExpression

Parameters

expression
DbOrExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbParameterReferenceExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbParameterReferenceExpression) As DbExpression

Parameters

expression
DbParameterReferenceExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbProjectExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbProjectExpression) As DbExpression

Parameters

expression
DbProjectExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbPropertyExpression)

Implements the visitor pattern for retrieving an instance property.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbPropertyExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbPropertyExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbPropertyExpression) As DbExpression

Parameters

expression
DbPropertyExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbRefKeyExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbRefKeyExpression) As DbExpression

Parameters

expression
DbRefKeyExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbRefExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbRefExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbRefExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbRefExpression) As DbExpression

Parameters

expression
DbRefExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbLambdaExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbLambdaExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbLambdaExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbLambdaExpression) As DbExpression

Parameters

expression
DbLambdaExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbRelationshipNavigationExpression)

Implements the visitor pattern for the navigation of a relationship.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbRelationshipNavigationExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbRelationshipNavigationExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbRelationshipNavigationExpression) As DbExpression

Parameters

expression
DbRelationshipNavigationExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbScanExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbScanExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbScanExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbScanExpression) As DbExpression

Parameters

expression
DbScanExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbSkipExpression)

Implements the visitor pattern for the skip expression.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbSkipExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbSkipExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbSkipExpression) As DbExpression

Parameters

expression
DbSkipExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbSortExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbSortExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbSortExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbSortExpression) As DbExpression

Parameters

expression
DbSortExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbTreatExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbTreatExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbTreatExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbTreatExpression) As DbExpression

Parameters

expression
DbTreatExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbUnionAllExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbUnionAllExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbUnionAllExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbUnionAllExpression) As DbExpression

Parameters

expression
DbUnionAllExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbVariableReferenceExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbVariableReferenceExpression) As DbExpression

Parameters

expression
DbVariableReferenceExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbQuantifierExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbQuantifierExpression) As DbExpression

Parameters

expression
DbQuantifierExpression

The expression.

Returns

The implemented visitor.

Applies to

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.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbJoinExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbJoinExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbJoinExpression) As DbExpression

Parameters

expression
DbJoinExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbNewInstanceExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbNewInstanceExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbNewInstanceExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbNewInstanceExpression) As DbExpression

Parameters

expression
DbNewInstanceExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbIsNullExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbIsNullExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbIsNullExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbIsNullExpression) As DbExpression

Parameters

expression
DbIsNullExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbAndExpression)

Implements the visitor pattern for the logical AND expression.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbAndExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbAndExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbAndExpression) As DbExpression

Parameters

expression
DbAndExpression

The logical AND expression.

Returns

The implemented visitor.

Applies to

Visit(DbApplyExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbApplyExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbApplyExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbApplyExpression) As DbExpression

Parameters

expression
DbApplyExpression

The APPLY expression.

Returns

The implemented visitor.

Applies to

Visit(DbArithmeticExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbArithmeticExpression) As DbExpression

Parameters

expression
DbArithmeticExpression

The arithmetic expression.

Returns

The implemented visitor.

Applies to

Visit(DbIsOfExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbIsOfExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbIsOfExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbIsOfExpression) As DbExpression

Parameters

expression
DbIsOfExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbCastExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbCastExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbCastExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbCastExpression) As DbExpression

Parameters

expression
DbCastExpression

The cast expression.

Returns

The implemented visitor.

Applies to

Visit(DbComparisonExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbComparisonExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbComparisonExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbComparisonExpression) As DbExpression

Parameters

expression
DbComparisonExpression

The cast expression.

Returns

The implemented visitor.

Applies to

Visit(DbConstantExpression)

Implements the visitor pattern for the different kinds of constants.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbConstantExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbConstantExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbConstantExpression) As DbExpression

Parameters

expression
DbConstantExpression

The constant expression.

Returns

The implemented visitor.

Applies to

Visit(DbCrossJoinExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbCrossJoinExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbCrossJoinExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbCrossJoinExpression) As DbExpression

Parameters

expression
DbCrossJoinExpression

The join expression.

Returns

The implemented visitor.

Applies to

Visit(DbDerefExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbDerefExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbDerefExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbDerefExpression) As DbExpression

Parameters

expression
DbDerefExpression

The DEREF expression.

Returns

The implemented visitor.

Applies to

Visit(DbDistinctExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbDistinctExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbDistinctExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbDistinctExpression) As DbExpression

Parameters

expression
DbDistinctExpression

The distinct expression.

Returns

The implemented visitor.

Applies to

Visit(DbCaseExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbCaseExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbCaseExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbCaseExpression) As DbExpression

Parameters

expression
DbCaseExpression

The case expression.

Returns

The implemented visitor.

Applies to

Visit(DbEntityRefExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbEntityRefExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbEntityRefExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbEntityRefExpression) As DbExpression

Parameters

expression
DbEntityRefExpression

The entity reference expression.

Returns

The implemented visitor.

Applies to

Visit(DbExceptExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbExceptExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbExceptExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbExceptExpression) As DbExpression

Parameters

expression
DbExceptExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbExpression) As DbExpression

Parameters

expression
DbExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbFilterExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbFilterExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbFilterExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbFilterExpression) As DbExpression

Parameters

expression
DbFilterExpression

The filter expression.

Returns

The implemented visitor.

Applies to

Visit(DbFunctionExpression)

Implements the visitor pattern for an invocation of a function.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbFunctionExpression) As DbExpression

Parameters

expression
DbFunctionExpression

The function expression.

Returns

The implemented visitor.

Applies to

Visit(DbGroupByExpression)

Implements the visitor pattern for a group by operation.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbGroupByExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbGroupByExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbGroupByExpression) As DbExpression

Parameters

expression
DbGroupByExpression

The expression.

Returns

The implemented visitor.

Applies to

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.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbElementExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbElementExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbElementExpression) As DbExpression

Parameters

expression
DbElementExpression

The element expression.

Returns

The implemented visitor.

Applies to

Visit(DbInExpression)

Implements the visitor pattern for the DbInExpression.

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbInExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbInExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbInExpression) As DbExpression

Parameters

expression
DbInExpression

The DbInExpression that is being visited.

Returns

The implemented visitor.

Applies to

Visit(DbIntersectExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbIntersectExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbIntersectExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbIntersectExpression) As DbExpression

Parameters

expression
DbIntersectExpression

The expression.

Returns

The implemented visitor.

Applies to

Visit(DbIsEmptyExpression)

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

public override System.Data.Entity.Core.Common.CommandTrees.DbExpression Visit (System.Data.Entity.Core.Common.CommandTrees.DbIsEmptyExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbIsEmptyExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbIsEmptyExpression) As DbExpression

Parameters

expression
DbIsEmptyExpression

The expression.

Returns

The implemented visitor.

Applies to