DbDistinctExpression.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 override TResultType Accept<TResultType>(
	DbExpressionVisitor<TResultType> visitor
)

Parameters

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

An instance of a typed DbExpressionVisitor that produces a result value of a specific type.

Return Value

Type: TResultType

A result value of a specific type produced by DbExpressionVisitor.

Type Parameters

TResultType

The type of the result produced by visitor.

Exception Condition
ArgumentNullException

visitor is null.

.NET Framework
Available since 3.5
Return to top
Show: