Share via


DbExpression.Accept Method

Definition

Overloads

Accept(DbExpressionVisitor)

Implements the visitor pattern for expressions that do not produce a result value.

Accept<TResultType>(DbExpressionVisitor<TResultType>)

Implements the visitor pattern for expressions that produce a result value of a specific type.

Accept(DbExpressionVisitor)

Implements the visitor pattern for expressions that do not produce a result value.

public abstract void Accept (System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor visitor);
abstract member Accept : System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor -> unit
Public MustOverride Sub Accept (visitor As DbExpressionVisitor)

Parameters

visitor
DbExpressionVisitor

An instance of DbExpressionVisitor.

Applies to

Accept<TResultType>(DbExpressionVisitor<TResultType>)

Implements the visitor pattern for expressions that produce a result value of a specific type.

public abstract TResultType Accept<TResultType> (System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor<TResultType> visitor);
abstract member Accept : System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor<'ResultType> -> 'ResultType
Public MustOverride Function Accept(Of TResultType) (visitor As DbExpressionVisitor(Of TResultType)) As TResultType

Type Parameters

TResultType

The type of the result produced by visitor.

Parameters

Returns

TResultType

The type of the result produced by DbExpressionVisitor.

Applies to