Compartilhar via


QueryableMethodTranslatingExpressionVisitor.TranslateTake Método

Definição

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

protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression TranslateTake (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression count);
protected abstract Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression? TranslateTake (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression source, System.Linq.Expressions.Expression count);
abstract member TranslateTake : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression
Protected MustOverride 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