Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DbExpressionVisitor(TResultType) Class
Collapse the table of content
Expand the table of content

DbExpressionVisitor<TResultType> Class

Defines the basic functionality that should be implemented by visitors that return a result value of a specific type.

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

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

public abstract class DbExpressionVisitor<TResultType>

Type Parameters

TResultType

The type of the result produced by the visitor.

The DbExpressionVisitor<TResultType> type exposes the following members.

  NameDescription
Protected methodDbExpressionVisitor<TResultType>Initializes a new instance of the DbExpressionVisitor<TResultType> class.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodVisit(DbAndExpression)When overridden in a derived class, implements the visitor pattern for DbAndExpression.
Public methodVisit(DbApplyExpression)When overridden in a derived class, implements the visitor pattern for DbApplyExpression.
Public methodVisit(DbArithmeticExpression)When overridden in a derived class, implements the visitor pattern for DbArithmeticExpression.
Public methodVisit(DbCaseExpression)When overridden in a derived class, implements the visitor pattern for DbCaseExpression.
Public methodVisit(DbCastExpression)When overridden in a derived class, implements the visitor pattern for DbCastExpression.
Public methodVisit(DbComparisonExpression)When overridden in a derived class, implements the visitor pattern for DbComparisonExpression.
Public methodVisit(DbConstantExpression)When overridden in a derived class, implements the visitor pattern for DbConstantExpression.
Public methodVisit(DbCrossJoinExpression)When overridden in a derived class, implements the visitor pattern for DbCrossJoinExpression.
Public methodVisit(DbDerefExpression)When overridden in a derived class, implements the visitor pattern for DbDerefExpression.
Public methodVisit(DbDistinctExpression)When overridden in a derived class, implements the visitor pattern for DbDistinctExpression.
Public methodVisit(DbElementExpression)When overridden in a derived class, implements the visitor pattern for DbElementExpression.
Public methodVisit(DbEntityRefExpression)When overridden in a derived class, implements the visitor pattern for DbEntityRefExpression.
Public methodVisit(DbExceptExpression)When overridden in a derived class, implements the visitor pattern for DbExceptExpression.
Public methodVisit(DbExpression)When overridden in a derived class, handles any expression of an unrecognized type.
Public methodVisit(DbFilterExpression)When overridden in a derived class, implements the visitor pattern for DbFilterExpression.
Public methodVisit(DbFunctionExpression)When overridden in a derived class, implements the visitor pattern for DbFunctionExpression.
Public methodVisit(DbGroupByExpression)When overridden in a derived class, implements the visitor pattern for DbGroupByExpression.
Public methodVisit(DbIntersectExpression)When overridden in a derived class, implements the visitor pattern for DbIntersectExpression.
Public methodVisit(DbIsEmptyExpression)When overridden in a derived class, implements the visitor pattern for DbIsEmptyExpression.
Public methodVisit(DbIsNullExpression)When overridden in a derived class, implements the visitor pattern for DbIsNullExpression.
Public methodVisit(DbIsOfExpression)When overridden in a derived class, implements the visitor pattern for DbIsOfExpression.
Public methodVisit(DbJoinExpression)When overridden in a derived class, implements the visitor pattern for DbJoinExpression.
Public methodVisit(DbLambdaExpression)When overridden in a derived class, implements the visitor pattern method for DbLambdaExpression.
Public methodVisit(DbLikeExpression)When overridden in a derived class, implements the visitor pattern for DbLikeExpression.
Public methodVisit(DbLimitExpression)When overridden in a derived class, implements the visitor pattern for DbLimitExpression.
Public methodVisit(DbNewInstanceExpression)When overridden in a derived class, implements the visitor pattern for DbNewInstanceExpression.
Public methodVisit(DbNotExpression)When overridden in a derived class, implements the visitor pattern for DbNotExpression.
Public methodVisit(DbNullExpression)When overridden in a derived class, implements the visitor pattern for DbNullExpression.
Public methodVisit(DbOfTypeExpression)When overridden in a derived class, implements the visitor pattern for DbOfTypeExpression.
Public methodVisit(DbOrExpression)When overridden in a derived class, implements the visitor pattern for DbOrExpression.
Public methodVisit(DbParameterReferenceExpression)When overridden in a derived class, implements the visitor pattern for DbParameterReferenceExpression.
Public methodVisit(DbProjectExpression)When overridden in a derived class, implements the visitor pattern for DbProjectExpression.
Public methodVisit(DbPropertyExpression)When overridden in a derived class, implements the visitor pattern for DbPropertyExpression.
Public methodVisit(DbQuantifierExpression)When overridden in a derived class, implements the visitor pattern for DbQuantifierExpression.
Public methodVisit(DbRefExpression)When overridden in a derived class, implements the visitor pattern for DbRefExpression.
Public methodVisit(DbRefKeyExpression)When overridden in a derived class, implements the visitor pattern for DbRefKeyExpression.
Public methodVisit(DbRelationshipNavigationExpression)When overridden in a derived class, implements the visitor pattern for DbRelationshipNavigationExpression.
Public methodVisit(DbScanExpression)When overridden in a derived class, implements the visitor pattern for DbScanExpression.
Public methodVisit(DbSkipExpression)When overridden in a derived class, implements the visitor pattern for DbSkipExpression.
Public methodVisit(DbSortExpression)When overridden in a derived class, implements the visitor pattern for DbSortExpression.
Public methodVisit(DbTreatExpression)When overridden in a derived class, implements the visitor pattern for DbTreatExpression.
Public methodVisit(DbUnionAllExpression)When overridden in a derived class, implements the visitor pattern for DbUnionAllExpression.
Public methodVisit(DbVariableReferenceExpression)When overridden in a derived class, implements the visitor pattern for DbVariableReferenceExpression.
Top

The DbExpressionVisitor<TResultType> is an abstract class that describes expression traversal.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

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