DbExpression.Accept<TResultType> Method (DbExpressionVisitor<TResultType>)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public abstract TResultType Accept<TResultType>(
	DbExpressionVisitor<TResultType> visitor
)

Parameters

visitor
Type: System.Data.Common.CommandTrees.DbExpressionVisitor<TResultType>

An instance of DbExpressionVisitor.

Return Value

Type: TResultType

The type of the result produced by DbExpressionVisitor.

Type Parameters

TResultType

The type of the result produced by visitor.

.NET Framework
Available since 3.5
Return to top
Show: