You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.InvalidOperationException: The LINQ expression 'DbSet() .Take(__p_2)' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information. at Microsoft.EntityFrameworkCore.Query.Internal.NavigationExpandingExpressionVisitor.VisitMethodCall(MethodCallExpression methodCallExpression)
Desired behavior
The example code should have the same behavior as the following:
varresults=context.Entity.Take(2).Skip(1);
Which translates successfully.
The text was updated successfully, but these errors were encountered:
Source.
Example code
Current behavior
Desired behavior
The example code should have the same behavior as the following:
Which translates successfully.
The text was updated successfully, but these errors were encountered: