Compartilhar via


QueryableMethodTranslatingExpressionVisitor.TranslateDistinct Método

Definição

Converte o Distinct<TSource>(IQueryable<TSource>) método sobre a origem fornecida.

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateDistinct (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateDistinct (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source);
abstract member TranslateDistinct : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride Function TranslateDistinct (source As ShapedQueryExpression) As ShapedQueryExpression

Parâmetros

source
ShapedQueryExpression

A consulta em forma na qual o operador é aplicado.

Retornos

A consulta em forma após a tradução.

Aplica-se a