Edit

Share via


DefaultExpressionVisitor.Visit Method

Definition

Implements the visitor pattern.

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

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

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

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

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

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

public:
 override System::Data::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbLikeExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbLikeExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbLikeExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbLimitExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbLimitExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbLimitExpression -> System.Data.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbLimitExpression) As DbExpression

Parameters

expression
DbLimitExpression

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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbNewInstanceExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbNewInstanceExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbNewInstanceExpression -> System.Data.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbNewInstanceExpression) As DbExpression

Parameters

expression
DbNewInstanceExpression

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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbNullExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbNullExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbNullExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbOfTypeExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbOfTypeExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbOfTypeExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbOrExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbOrExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbOrExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbParameterReferenceExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbParameterReferenceExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbParameterReferenceExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbProjectExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbProjectExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbProjectExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbPropertyExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbPropertyExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbPropertyExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbRefKeyExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbRefKeyExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbRefKeyExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbRefExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbRefExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbRefExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbLambdaExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbLambdaExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbLambdaExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbRelationshipNavigationExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbRelationshipNavigationExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbRelationshipNavigationExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbScanExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbScanExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbScanExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbSkipExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbSkipExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbSkipExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbSortExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbSortExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbSortExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbTreatExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbTreatExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbTreatExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbUnionAllExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbUnionAllExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbUnionAllExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbVariableReferenceExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbVariableReferenceExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbVariableReferenceExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbQuantifierExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbQuantifierExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbQuantifierExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbJoinExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbJoinExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbJoinExpression -> System.Data.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbJoinExpression) As DbExpression

Parameters

expression
DbJoinExpression

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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbNotExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbNotExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbNotExpression -> System.Data.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbNotExpression) As DbExpression

Parameters

expression
DbNotExpression

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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbIsNullExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbIsNullExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbIsNullExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbAndExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbAndExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbAndExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbApplyExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbApplyExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbApplyExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbArithmeticExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbArithmeticExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbArithmeticExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbIsOfExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbIsOfExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbIsOfExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbCastExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbCastExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbCastExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbComparisonExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbComparisonExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbComparisonExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbConstantExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbConstantExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbConstantExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbCrossJoinExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbCrossJoinExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbCrossJoinExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbDerefExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbDerefExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbDerefExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbDistinctExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbDistinctExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbDistinctExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbCaseExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbCaseExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbCaseExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbEntityRefExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbEntityRefExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbEntityRefExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbExceptExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbExceptExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbExceptExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbFilterExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbFilterExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbFilterExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbFunctionExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbFunctionExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbFunctionExpression -> System.Data.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(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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbElementExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbElementExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbElementExpression -> System.Data.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(DbGroupByExpression)

Implements the visitor pattern for a group by operation.

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

Parameters

expression
DbGroupByExpression

The expression.

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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbIntersectExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbIntersectExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbIntersectExpression -> System.Data.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::Common::CommandTrees::DbExpression ^ Visit(System::Data::Common::CommandTrees::DbIsEmptyExpression ^ expression);
public override System.Data.Common.CommandTrees.DbExpression Visit (System.Data.Common.CommandTrees.DbIsEmptyExpression expression);
override this.Visit : System.Data.Common.CommandTrees.DbIsEmptyExpression -> System.Data.Common.CommandTrees.DbExpression
Public Overrides Function Visit (expression As DbIsEmptyExpression) As DbExpression

Parameters

expression
DbIsEmptyExpression

The expression.

Returns

The implemented visitor.

Applies to