Compartilhar via


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateTake Método

Definição

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

protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateTake (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression count);
protected override Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateTake (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression count);
override this.TranslateTake : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected Overrides Function TranslateTake (source As ShapedQueryExpression, count As Expression) As ShapedQueryExpression

Parâmetros

source
ShapedQueryExpression

A consulta em forma na qual o operador é aplicado.

count
Expression

A contagem fornecida na chamada.

Retornos

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

Aplica-se a