DbExpression.Accept Method
Namespace:
System.Data.Entity.Core.Common.CommandTrees
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Accept(DbExpressionVisitor) | Implements the visitor pattern interface method for expression visitors that do not produce a result value. |
![]() | Accept<TResultType>(DbExpressionVisitor<TResultType>) | Implements the visitor pattern interface method for expression visitors that produce a result value of a specific type. |
DbExpression.Accept Method (DbExpressionVisitor)
Implements the visitor pattern interface method for expression visitors that do not produce a result value.
Parameters
- visitor
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor
An instance of DbExpressionVisitor.
Exception | Condition |
---|---|
ArgumentNullException | visitor is null. |
DbExpression.Accept<TResultType> Method (DbExpressionVisitor<TResultType>)
Implements the visitor pattern interface method for expression visitors that produce a result value of a specific type.
public abstract TResultType Accept<TResultType>( DbExpressionVisitor<TResultType> visitor )
Parameters
- visitor
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor<TResultType>
An instance of a typed DbExpressionVisitor that produces a result value of type TResultType.
Type Parameters
- TResultType
The type of the result produced by visitor.
Exception | Condition |
---|---|
ArgumentNullException | visitor is null. |