Bewerken

Share via


DbExpressionVisitor<TResultType>.Visit Method

Definition

Implements the visitor pattern for expressions.

Overloads

Visit(DbLikeExpression)

When overridden in a derived class, implements the visitor pattern for DbLikeExpression.

Visit(DbLimitExpression)

When overridden in a derived class, implements the visitor pattern for DbLimitExpression.

Visit(DbNewInstanceExpression)

When overridden in a derived class, implements the visitor pattern for DbNewInstanceExpression.

Visit(DbNotExpression)

When overridden in a derived class, implements the visitor pattern for DbNotExpression.

Visit(DbNullExpression)

When overridden in a derived class, implements the visitor pattern for DbNullExpression.

Visit(DbOfTypeExpression)

When overridden in a derived class, implements the visitor pattern for DbOfTypeExpression.

Visit(DbOrExpression)

When overridden in a derived class, implements the visitor pattern for DbOrExpression.

Visit(DbParameterReferenceExpression)

When overridden in a derived class, implements the visitor pattern for DbParameterReferenceExpression.

Visit(DbLambdaExpression)

When overridden in a derived class, implements the visitor pattern method for DbLambdaExpression.

Visit(DbProjectExpression)

When overridden in a derived class, implements the visitor pattern for DbProjectExpression.

Visit(DbQuantifierExpression)

When overridden in a derived class, implements the visitor pattern for DbQuantifierExpression.

Visit(DbRefExpression)

When overridden in a derived class, implements the visitor pattern for DbRefExpression.

Visit(DbRefKeyExpression)

When overridden in a derived class, implements the visitor pattern for DbRefKeyExpression.

Visit(DbRelationshipNavigationExpression)

When overridden in a derived class, implements the visitor pattern for DbRelationshipNavigationExpression.

Visit(DbScanExpression)

When overridden in a derived class, implements the visitor pattern for DbScanExpression.

Visit(DbSkipExpression)

When overridden in a derived class, implements the visitor pattern for DbSkipExpression.

Visit(DbSortExpression)

When overridden in a derived class, implements the visitor pattern for DbSortExpression.

Visit(DbTreatExpression)

When overridden in a derived class, implements the visitor pattern for DbTreatExpression.

Visit(DbPropertyExpression)

When overridden in a derived class, implements the visitor pattern for DbPropertyExpression.

Visit(DbJoinExpression)

When overridden in a derived class, implements the visitor pattern for DbJoinExpression.

Visit(DbIsOfExpression)

When overridden in a derived class, implements the visitor pattern for DbIsOfExpression.

Visit(DbIsNullExpression)

When overridden in a derived class, implements the visitor pattern for DbIsNullExpression.

Visit(DbAndExpression)

When overridden in a derived class, implements the visitor pattern for DbAndExpression.

Visit(DbApplyExpression)

When overridden in a derived class, implements the visitor pattern for DbApplyExpression.

Visit(DbArithmeticExpression)

When overridden in a derived class, implements the visitor pattern for DbArithmeticExpression.

Visit(DbCaseExpression)

When overridden in a derived class, implements the visitor pattern for DbCaseExpression.

Visit(DbCastExpression)

When overridden in a derived class, implements the visitor pattern for DbCastExpression.

Visit(DbComparisonExpression)

When overridden in a derived class, implements the visitor pattern for DbComparisonExpression.

Visit(DbConstantExpression)

When overridden in a derived class, implements the visitor pattern for DbConstantExpression.

Visit(DbCrossJoinExpression)

When overridden in a derived class, implements the visitor pattern for DbCrossJoinExpression.

Visit(DbDerefExpression)

When overridden in a derived class, implements the visitor pattern for DbDerefExpression.

Visit(DbDistinctExpression)

When overridden in a derived class, implements the visitor pattern for DbDistinctExpression.

Visit(DbElementExpression)

When overridden in a derived class, implements the visitor pattern for DbElementExpression.

Visit(DbEntityRefExpression)

When overridden in a derived class, implements the visitor pattern for DbEntityRefExpression.

Visit(DbExceptExpression)

When overridden in a derived class, implements the visitor pattern for DbExceptExpression.

Visit(DbExpression)

When overridden in a derived class, handles any expression of an unrecognized type.

Visit(DbFilterExpression)

When overridden in a derived class, implements the visitor pattern for DbFilterExpression.

Visit(DbFunctionExpression)

When overridden in a derived class, implements the visitor pattern for DbFunctionExpression.

Visit(DbGroupByExpression)

When overridden in a derived class, implements the visitor pattern for DbGroupByExpression.

Visit(DbIntersectExpression)

When overridden in a derived class, implements the visitor pattern for DbIntersectExpression.

Visit(DbIsEmptyExpression)

When overridden in a derived class, implements the visitor pattern for DbIsEmptyExpression.

Visit(DbUnionAllExpression)

When overridden in a derived class, implements the visitor pattern for DbUnionAllExpression.

Visit(DbVariableReferenceExpression)

When overridden in a derived class, implements the visitor pattern for DbVariableReferenceExpression.

Visit(DbLikeExpression)

When overridden in a derived class, implements the visitor pattern for DbLikeExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbLikeExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbLikeExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbLikeExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbLikeExpression) As TResultType

Parameters

expression
DbLikeExpression

The DbLikeExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbLimitExpression)

When overridden in a derived class, implements the visitor pattern for DbLimitExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbLimitExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbLimitExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbLimitExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbLimitExpression) As TResultType

Parameters

expression
DbLimitExpression

The DbLimitExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbNewInstanceExpression)

When overridden in a derived class, implements the visitor pattern for DbNewInstanceExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbNewInstanceExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbNewInstanceExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbNewInstanceExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbNewInstanceExpression) As TResultType

Parameters

expression
DbNewInstanceExpression

The DbNewInstanceExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbNotExpression)

When overridden in a derived class, implements the visitor pattern for DbNotExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbNotExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbNotExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbNotExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbNotExpression) As TResultType

Parameters

expression
DbNotExpression

The DbNotExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbNullExpression)

When overridden in a derived class, implements the visitor pattern for DbNullExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbNullExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbNullExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbNullExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbNullExpression) As TResultType

Parameters

expression
DbNullExpression

The DbNullExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbOfTypeExpression)

When overridden in a derived class, implements the visitor pattern for DbOfTypeExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbOfTypeExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbOfTypeExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbOfTypeExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbOfTypeExpression) As TResultType

Parameters

expression
DbOfTypeExpression

The DbOfTypeExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbOrExpression)

When overridden in a derived class, implements the visitor pattern for DbOrExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbOrExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbOrExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbOrExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbOrExpression) As TResultType

Parameters

expression
DbOrExpression

The DbOrExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbParameterReferenceExpression)

When overridden in a derived class, implements the visitor pattern for DbParameterReferenceExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbParameterReferenceExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbParameterReferenceExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbParameterReferenceExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbParameterReferenceExpression) As TResultType

Parameters

expression
DbParameterReferenceExpression

The DbParameterReferenceExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbLambdaExpression)

When overridden in a derived class, implements the visitor pattern method for DbLambdaExpression.

public:
 virtual TResultType Visit(System::Data::Common::CommandTrees::DbLambdaExpression ^ expression);
public virtual TResultType Visit (System.Data.Common.CommandTrees.DbLambdaExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbLambdaExpression -> 'ResultType
override this.Visit : System.Data.Common.CommandTrees.DbLambdaExpression -> 'ResultType
Public Overridable Function Visit (expression As DbLambdaExpression) As TResultType

Parameters

expression
DbLambdaExpression

The DbLambdaExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbProjectExpression)

When overridden in a derived class, implements the visitor pattern for DbProjectExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbProjectExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbProjectExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbProjectExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbProjectExpression) As TResultType

Parameters

expression
DbProjectExpression

The DbProjectExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbQuantifierExpression)

When overridden in a derived class, implements the visitor pattern for DbQuantifierExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbQuantifierExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbQuantifierExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbQuantifierExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbQuantifierExpression) As TResultType

Parameters

expression
DbQuantifierExpression

The DbQuantifierExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbRefExpression)

When overridden in a derived class, implements the visitor pattern for DbRefExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbRefExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbRefExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbRefExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbRefExpression) As TResultType

Parameters

expression
DbRefExpression

The DbRefExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbRefKeyExpression)

When overridden in a derived class, implements the visitor pattern for DbRefKeyExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbRefKeyExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbRefKeyExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbRefKeyExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbRefKeyExpression) As TResultType

Parameters

expression
DbRefKeyExpression

The DbRefKeyExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbRelationshipNavigationExpression)

When overridden in a derived class, implements the visitor pattern for DbRelationshipNavigationExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbRelationshipNavigationExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbRelationshipNavigationExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbRelationshipNavigationExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbRelationshipNavigationExpression) As TResultType

Parameters

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbScanExpression)

When overridden in a derived class, implements the visitor pattern for DbScanExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbScanExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbScanExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbScanExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbScanExpression) As TResultType

Parameters

expression
DbScanExpression

The DbScanExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbSkipExpression)

When overridden in a derived class, implements the visitor pattern for DbSkipExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbSkipExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbSkipExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbSkipExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbSkipExpression) As TResultType

Parameters

expression
DbSkipExpression

The DbSkipExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbSortExpression)

When overridden in a derived class, implements the visitor pattern for DbSortExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbSortExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbSortExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbSortExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbSortExpression) As TResultType

Parameters

expression
DbSortExpression

The DbSortExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbTreatExpression)

When overridden in a derived class, implements the visitor pattern for DbTreatExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbTreatExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbTreatExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbTreatExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbTreatExpression) As TResultType

Parameters

expression
DbTreatExpression

The DbTreatExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbPropertyExpression)

When overridden in a derived class, implements the visitor pattern for DbPropertyExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbPropertyExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbPropertyExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbPropertyExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbPropertyExpression) As TResultType

Parameters

expression
DbPropertyExpression

The DbPropertyExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbJoinExpression)

When overridden in a derived class, implements the visitor pattern for DbJoinExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbJoinExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbJoinExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbJoinExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbJoinExpression) As TResultType

Parameters

expression
DbJoinExpression

The DbJoinExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbIsOfExpression)

When overridden in a derived class, implements the visitor pattern for DbIsOfExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbIsOfExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbIsOfExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbIsOfExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbIsOfExpression) As TResultType

Parameters

expression
DbIsOfExpression

The DbIsOfExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbIsNullExpression)

When overridden in a derived class, implements the visitor pattern for DbIsNullExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbIsNullExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbIsNullExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbIsNullExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbIsNullExpression) As TResultType

Parameters

expression
DbIsNullExpression

The DbIsNullExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbAndExpression)

When overridden in a derived class, implements the visitor pattern for DbAndExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbAndExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbAndExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbAndExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbAndExpression) As TResultType

Parameters

expression
DbAndExpression

The DbAndExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbApplyExpression)

When overridden in a derived class, implements the visitor pattern for DbApplyExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbApplyExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbApplyExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbApplyExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbApplyExpression) As TResultType

Parameters

expression
DbApplyExpression

The DbApplyExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbArithmeticExpression)

When overridden in a derived class, implements the visitor pattern for DbArithmeticExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbArithmeticExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbArithmeticExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbArithmeticExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbArithmeticExpression) As TResultType

Parameters

expression
DbArithmeticExpression

The DbArithmeticExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbCaseExpression)

When overridden in a derived class, implements the visitor pattern for DbCaseExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbCaseExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbCaseExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbCaseExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbCaseExpression) As TResultType

Parameters

expression
DbCaseExpression

The DbCaseExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbCastExpression)

When overridden in a derived class, implements the visitor pattern for DbCastExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbCastExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbCastExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbCastExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbCastExpression) As TResultType

Parameters

expression
DbCastExpression

The DbCastExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbComparisonExpression)

When overridden in a derived class, implements the visitor pattern for DbComparisonExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbComparisonExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbComparisonExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbComparisonExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbComparisonExpression) As TResultType

Parameters

expression
DbComparisonExpression

The DbComparisonExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbConstantExpression)

When overridden in a derived class, implements the visitor pattern for DbConstantExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbConstantExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbConstantExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbConstantExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbConstantExpression) As TResultType

Parameters

expression
DbConstantExpression

The DbConstantExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbCrossJoinExpression)

When overridden in a derived class, implements the visitor pattern for DbCrossJoinExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbCrossJoinExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbCrossJoinExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbCrossJoinExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbCrossJoinExpression) As TResultType

Parameters

expression
DbCrossJoinExpression

The DbCrossJoinExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbDerefExpression)

When overridden in a derived class, implements the visitor pattern for DbDerefExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbDerefExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbDerefExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbDerefExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbDerefExpression) As TResultType

Parameters

expression
DbDerefExpression

The DbDerefExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbDistinctExpression)

When overridden in a derived class, implements the visitor pattern for DbDistinctExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbDistinctExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbDistinctExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbDistinctExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbDistinctExpression) As TResultType

Parameters

expression
DbDistinctExpression

The DbDistinctExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbElementExpression)

When overridden in a derived class, implements the visitor pattern for DbElementExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbElementExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbElementExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbElementExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbElementExpression) As TResultType

Parameters

expression
DbElementExpression

The DbElementExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbEntityRefExpression)

When overridden in a derived class, implements the visitor pattern for DbEntityRefExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbEntityRefExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbEntityRefExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbEntityRefExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbEntityRefExpression) As TResultType

Parameters

expression
DbEntityRefExpression

The DbEntityRefExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbExceptExpression)

When overridden in a derived class, implements the visitor pattern for DbExceptExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbExceptExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbExceptExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbExceptExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbExceptExpression) As TResultType

Parameters

expression
DbExceptExpression

The DbExceptExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbExpression)

When overridden in a derived class, handles any expression of an unrecognized type.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbExpression) As TResultType

Parameters

expression
DbExpression

The DbExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Remarks

This method is called when an expression of an otherwise unrecognized type is encountered.

Applies to

Visit(DbFilterExpression)

When overridden in a derived class, implements the visitor pattern for DbFilterExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbFilterExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbFilterExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbFilterExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbFilterExpression) As TResultType

Parameters

expression
DbFilterExpression

The DbFilterExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbFunctionExpression)

When overridden in a derived class, implements the visitor pattern for DbFunctionExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbFunctionExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbFunctionExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbFunctionExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbFunctionExpression) As TResultType

Parameters

expression
DbFunctionExpression

The DbFunctionExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbGroupByExpression)

When overridden in a derived class, implements the visitor pattern for DbGroupByExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbGroupByExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbGroupByExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbGroupByExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbGroupByExpression) As TResultType

Parameters

expression
DbGroupByExpression

The DbGroupByExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbIntersectExpression)

When overridden in a derived class, implements the visitor pattern for DbIntersectExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbIntersectExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbIntersectExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbIntersectExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbIntersectExpression) As TResultType

Parameters

expression
DbIntersectExpression

The DbIntersectExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbIsEmptyExpression)

When overridden in a derived class, implements the visitor pattern for DbIsEmptyExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbIsEmptyExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbIsEmptyExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbIsEmptyExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbIsEmptyExpression) As TResultType

Parameters

expression
DbIsEmptyExpression

The DbIsEmptyExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbUnionAllExpression)

When overridden in a derived class, implements the visitor pattern for DbUnionAllExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbUnionAllExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbUnionAllExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbUnionAllExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbUnionAllExpression) As TResultType

Parameters

expression
DbUnionAllExpression

The DbUnionAllExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to

Visit(DbVariableReferenceExpression)

When overridden in a derived class, implements the visitor pattern for DbVariableReferenceExpression.

public:
 abstract TResultType Visit(System::Data::Common::CommandTrees::DbVariableReferenceExpression ^ expression);
public abstract TResultType Visit (System.Data.Common.CommandTrees.DbVariableReferenceExpression expression);
abstract member Visit : System.Data.Common.CommandTrees.DbVariableReferenceExpression -> 'ResultType
Public MustOverride Function Visit (expression As DbVariableReferenceExpression) As TResultType

Parameters

expression
DbVariableReferenceExpression

The DbVariableReferenceExpression that is being visited.

Returns

TResultType

A result value of a specific type.

Applies to