Condividi tramite


RelationalQueryableMethodTranslatingExpressionVisitor.TranslateTake Metodo

Definizione

Converte il Take<TSource>(IQueryable<TSource>, Int32) metodo sull'origine specificata.

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

Parametri

source
ShapedQueryExpression

Query con forma su cui viene applicato l'operatore.

count
Expression

Conteggio fornito nella chiamata.

Restituisce

Query con forma dopo la traduzione.

Si applica a