DbExpression.Accept 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
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::Common::CommandTrees::DbExpressionVisitor ^ visitor);
public abstract void Accept (System.Data.Common.CommandTrees.DbExpressionVisitor visitor);
abstract member Accept : System.Data.Common.CommandTrees.DbExpressionVisitor -> unit
Public MustOverride Sub Accept (visitor As DbExpressionVisitor)
Parameters
- visitor
- DbExpressionVisitor
An instance of DbExpressionVisitor.
Exceptions
visitor
is null.
Applies to
Accept<TResultType>(DbExpressionVisitor<TResultType>)
Implements the visitor pattern for expressions that produce a result value of a specific type.
public:
generic <typename TResultType>
abstract TResultType Accept(System::Data::Common::CommandTrees::DbExpressionVisitor<TResultType> ^ visitor);
public abstract TResultType Accept<TResultType> (System.Data.Common.CommandTrees.DbExpressionVisitor<TResultType> visitor);
abstract member Accept : System.Data.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
- visitor
- DbExpressionVisitor<TResultType>
An instance of DbExpressionVisitor.
Returns
The type of the result produced by DbExpressionVisitor.
Exceptions
visitor
is null).