DbLambdaExpression.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) |
The visitor pattern method for expression visitors that do not produce a result value. |
Accept<TResultType>(DbExpressionVisitor<TResultType>) |
The visitor pattern method for expression visitors that produce a result value of a specific type. |
Accept(DbExpressionVisitor)
The visitor pattern method for expression visitors that do not produce a result value.
public override void Accept (System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor visitor);
override this.Accept : System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor -> unit
Public Overrides Sub Accept (visitor As DbExpressionVisitor)
Parameters
- visitor
- DbExpressionVisitor
An instance of DbExpressionVisitor.
Exceptions
visitor is null
Applies to
Accept<TResultType>(DbExpressionVisitor<TResultType>)
The visitor pattern method for expression visitors that produce a result value of a specific type.
public override TResultType Accept<TResultType> (System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor<TResultType> visitor);
override this.Accept : System.Data.Entity.Core.Common.CommandTrees.DbExpressionVisitor<'ResultType> -> 'ResultType
Public Overrides 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 a typed DbExpressionVisitor that produces a result value of type TResultType.
Returns
The type of the result produced by the expression visitor.
Exceptions
visitor is null
Applies to
Entity Framework