BasicExpressionVisitor.Visit Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Visit(DbLikeExpression)
Visitor pattern method for DbLikeExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbLikeExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbLikeExpression -> unit
Public Overrides Sub Visit (expression As DbLikeExpression)
Parameters
- expression
- DbLikeExpression
The DbLikeExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbLimitExpression)
Visitor pattern method for DbLimitExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbLimitExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbLimitExpression -> unit
Public Overrides Sub Visit (expression As DbLimitExpression)
Parameters
- expression
- DbLimitExpression
The DbLimitExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbNewInstanceExpression)
Visitor pattern method for DbNewInstanceExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbNewInstanceExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbNewInstanceExpression -> unit
Public Overrides Sub Visit (expression As DbNewInstanceExpression)
Parameters
- expression
- DbNewInstanceExpression
The DbNewInstanceExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbNullExpression)
Visitor pattern method for DbNullExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbNullExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbNullExpression -> unit
Public Overrides Sub Visit (expression As DbNullExpression)
Parameters
- expression
- DbNullExpression
The DbNullExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbOfTypeExpression)
Visitor pattern method for DbOfTypeExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbOfTypeExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbOfTypeExpression -> unit
Public Overrides Sub Visit (expression As DbOfTypeExpression)
Parameters
- expression
- DbOfTypeExpression
The DbOfTypeExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbOrExpression)
Visitor pattern method for DbOrExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbOrExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbOrExpression -> unit
Public Overrides Sub Visit (expression As DbOrExpression)
Parameters
- expression
- DbOrExpression
The DbOrExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbParameterReferenceExpression)
Visitor pattern method for DbParameterReferenceExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression -> unit
Public Overrides Sub Visit (expression As DbParameterReferenceExpression)
Parameters
- expression
- DbParameterReferenceExpression
The DbParameterReferenceExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbProjectExpression)
Visitor pattern method for DbProjectExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbProjectExpression -> unit
Public Overrides Sub Visit (expression As DbProjectExpression)
Parameters
- expression
- DbProjectExpression
The DbProjectExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbPropertyExpression)
Visitor pattern method for DbPropertyExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbPropertyExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbPropertyExpression -> unit
Public Overrides Sub Visit (expression As DbPropertyExpression)
Parameters
- expression
- DbPropertyExpression
The DbPropertyExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbQuantifierExpression)
Visitor pattern method for DbQuantifierExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbQuantifierExpression -> unit
Public Overrides Sub Visit (expression As DbQuantifierExpression)
Parameters
- expression
- DbQuantifierExpression
The DbQuantifierExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbRefExpression)
Visitor pattern method for DbRefExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbRefExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbRefExpression -> unit
Public Overrides Sub Visit (expression As DbRefExpression)
Parameters
- expression
- DbRefExpression
The DbRefExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbRefKeyExpression)
Visitor pattern method for DbRefKeyExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbRefKeyExpression -> unit
Public Overrides Sub Visit (expression As DbRefKeyExpression)
Parameters
- expression
- DbRefKeyExpression
The DbRefKeyExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbRelationshipNavigationExpression)
Visitor pattern method for DbRelationshipNavigationExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbRelationshipNavigationExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbRelationshipNavigationExpression -> unit
Public Overrides Sub Visit (expression As DbRelationshipNavigationExpression)
Parameters
- expression
- DbRelationshipNavigationExpression
The DbRelationshipNavigationExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbScanExpression)
Visitor pattern method for DbScanExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbScanExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbScanExpression -> unit
Public Overrides Sub Visit (expression As DbScanExpression)
Parameters
- expression
- DbScanExpression
The DbScanExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbSkipExpression)
Visitor pattern method for DbSkipExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbSkipExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbSkipExpression -> unit
Public Overrides Sub Visit (expression As DbSkipExpression)
Parameters
- expression
- DbSkipExpression
The DbSkipExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbSortExpression)
Visitor pattern method for DbSortExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbSortExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbSortExpression -> unit
Public Overrides Sub Visit (expression As DbSortExpression)
Parameters
- expression
- DbSortExpression
The DbSortExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbTreatExpression)
Visitor pattern method for DbTreatExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbTreatExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbTreatExpression -> unit
Public Overrides Sub Visit (expression As DbTreatExpression)
Parameters
- expression
- DbTreatExpression
The DbTreatExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbUnionAllExpression)
Visitor pattern method for DbUnionAllExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbUnionAllExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbUnionAllExpression -> unit
Public Overrides Sub Visit (expression As DbUnionAllExpression)
Parameters
- expression
- DbUnionAllExpression
The DbUnionAllExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbVariableReferenceExpression)
Visitor pattern method for DbVariableReferenceExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbVariableReferenceExpression -> unit
Public Overrides Sub Visit (expression As DbVariableReferenceExpression)
Parameters
- expression
- DbVariableReferenceExpression
The DbVariableReferenceExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbLambdaExpression)
Visitor pattern method for DbLambdaExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbLambdaExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbLambdaExpression -> unit
Public Overrides Sub Visit (expression As DbLambdaExpression)
Parameters
- expression
- DbLambdaExpression
The DbLambdaExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbJoinExpression)
Visitor pattern method for DbJoinExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbJoinExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbJoinExpression -> unit
Public Overrides Sub Visit (expression As DbJoinExpression)
Parameters
- expression
- DbJoinExpression
The DbJoinExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbNotExpression)
Visitor pattern method for DbNotExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbNotExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbNotExpression -> unit
Public Overrides Sub Visit (expression As DbNotExpression)
Parameters
- expression
- DbNotExpression
The DbNotExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbIsNullExpression)
Visitor pattern method for DbIsNullExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbIsNullExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbIsNullExpression -> unit
Public Overrides Sub Visit (expression As DbIsNullExpression)
Parameters
- expression
- DbIsNullExpression
The DbIsNullExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbAndExpression)
Visitor pattern method for DbAndExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbAndExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbAndExpression -> unit
Public Overrides Sub Visit (expression As DbAndExpression)
Parameters
- expression
- DbAndExpression
The DbAndExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbApplyExpression)
Visitor pattern method for DbApplyExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbApplyExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbApplyExpression -> unit
Public Overrides Sub Visit (expression As DbApplyExpression)
Parameters
- expression
- DbApplyExpression
The DbApplyExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbArithmeticExpression)
Visitor pattern method for DbArithmeticExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbArithmeticExpression -> unit
Public Overrides Sub Visit (expression As DbArithmeticExpression)
Parameters
- expression
- DbArithmeticExpression
The DbArithmeticExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbCaseExpression)
Visitor pattern method for DbCaseExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbCaseExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbCaseExpression -> unit
Public Overrides Sub Visit (expression As DbCaseExpression)
Parameters
- expression
- DbCaseExpression
The DbCaseExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbIsOfExpression)
Visitor pattern method for DbIsOfExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbIsOfExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbIsOfExpression -> unit
Public Overrides Sub Visit (expression As DbIsOfExpression)
Parameters
- expression
- DbIsOfExpression
The DbIsOfExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbComparisonExpression)
Visitor pattern method for DbComparisonExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbComparisonExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbComparisonExpression -> unit
Public Overrides Sub Visit (expression As DbComparisonExpression)
Parameters
- expression
- DbComparisonExpression
The DbComparisonExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbConstantExpression)
Visitor pattern method for DbConstantExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbConstantExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbConstantExpression -> unit
Public Overrides Sub Visit (expression As DbConstantExpression)
Parameters
- expression
- DbConstantExpression
The DbConstantExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbCrossJoinExpression)
Visitor pattern method for DbCrossJoinExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbCrossJoinExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbCrossJoinExpression -> unit
Public Overrides Sub Visit (expression As DbCrossJoinExpression)
Parameters
- expression
- DbCrossJoinExpression
The DbCrossJoinExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbDerefExpression)
Visitor pattern method for DbDerefExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbDerefExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbDerefExpression -> unit
Public Overrides Sub Visit (expression As DbDerefExpression)
Parameters
- expression
- DbDerefExpression
The DeRefExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbDistinctExpression)
Visitor pattern method for DbDistinctExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbDistinctExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbDistinctExpression -> unit
Public Overrides Sub Visit (expression As DbDistinctExpression)
Parameters
- expression
- DbDistinctExpression
The DbDistinctExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbCastExpression)
Visitor pattern method for DbCastExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbCastExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbCastExpression -> unit
Public Overrides Sub Visit (expression As DbCastExpression)
Parameters
- expression
- DbCastExpression
The DbCastExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbEntityRefExpression)
Visitor pattern method for DbEntityRefExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbEntityRefExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbEntityRefExpression -> unit
Public Overrides Sub Visit (expression As DbEntityRefExpression)
Parameters
- expression
- DbEntityRefExpression
The DbEntityRefExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbExceptExpression)
Visitor pattern method for DbExceptExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbExceptExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbExceptExpression -> unit
Public Overrides Sub Visit (expression As DbExceptExpression)
Parameters
- expression
- DbExceptExpression
The DbExceptExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbExpression)
Called when an DbExpression of an otherwise unrecognized type is encountered.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> unit
Public Overrides Sub Visit (expression As DbExpression)
Parameters
- expression
- DbExpression
The expression
Exceptions
expression
is null
Always thrown if this method is called, since it indicates that
expression
is of an unsupported type
Applies to
Visit(DbFilterExpression)
Visitor pattern method for DbFilterExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbFilterExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbFilterExpression -> unit
Public Overrides Sub Visit (expression As DbFilterExpression)
Parameters
- expression
- DbFilterExpression
The DbFilterExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbFunctionExpression)
Visitor pattern method for DbFunctionExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression -> unit
Public Overrides Sub Visit (expression As DbFunctionExpression)
Parameters
- expression
- DbFunctionExpression
The DbFunctionExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbElementExpression)
Visitor pattern method for DbElementExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbElementExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbElementExpression -> unit
Public Overrides Sub Visit (expression As DbElementExpression)
Parameters
- expression
- DbElementExpression
The DbElementExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbGroupByExpression)
Visitor pattern method for DbGroupByExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbGroupByExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbGroupByExpression -> unit
Public Overrides Sub Visit (expression As DbGroupByExpression)
Parameters
- expression
- DbGroupByExpression
The DbExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbInExpression)
Visitor pattern method for DbInExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbInExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbInExpression -> unit
Public Overrides Sub Visit (expression As DbInExpression)
Parameters
- expression
- DbInExpression
The DbInExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbIntersectExpression)
Visitor pattern method for DbIntersectExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbIntersectExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbIntersectExpression -> unit
Public Overrides Sub Visit (expression As DbIntersectExpression)
Parameters
- expression
- DbIntersectExpression
The DbIntersectExpression that is being visited.
Exceptions
expression
is null
Applies to
Visit(DbIsEmptyExpression)
Visitor pattern method for DbIsEmptyExpression.
public override void Visit (System.Data.Entity.Core.Common.CommandTrees.DbIsEmptyExpression expression);
override this.Visit : System.Data.Entity.Core.Common.CommandTrees.DbIsEmptyExpression -> unit
Public Overrides Sub Visit (expression As DbIsEmptyExpression)
Parameters
- expression
- DbIsEmptyExpression
The DbIsEmptyExpression that is being visited.
Exceptions
expression
is null
Applies to
Entity Framework