RelationalQueryableMethodTranslatingExpressionVisitor.TranslateDistinct 方法

定义

Distinct<TSource>(IQueryable<TSource>)转换给定源上的方法。

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

参数

source
ShapedQueryExpression

对其应用运算符的形状查询。

返回

转换后的形状查询。

适用于