以下是错误信息,请刷新重试。如多次出错,请向管理员汇报
请求地址:Home/UserRanking
The LINQ expression 'DbSet<UserProfile>() .OrderByDescending(u => u.Experience) .Take(@p) .Select((u, index) => new RankTuple{ Name = u.UserName, Value = u.Experience, Ranking = (long)(index + 1) } )' 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.