我在尝试理解如何在LINQ to Entities调用中执行order by以返回按所需顺序组织的数据时遇到了问题。使用的数据库是postgresql。OrderBy(Function(e) e.partnumber).如果有人知道LINQ to Entities的一个很好的当前参考...我将不胜感激。
(sortDirection.ToLower()) case "asc": return query.OrderByLINQ to Entities无法识别方法System.Object GetValue(System.Object, System.Object[]),并且此方法无法转换为存储表达式。