Share via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateDistinct Method

Definition

Translates Distinct<TSource>(IQueryable<TSource>) method over the given source.

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateDistinct (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateDistinct (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source);
override this.TranslateDistinct : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateDistinct (source As ShapedQueryExpression) As ShapedQueryExpression

Parameters

source
ShapedQueryExpression

The shaped query on which the operator is applied.

Returns

The shaped query after translation.

Applies to