Partilhar via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateDistinct Método

Definição

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

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

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