应为 "By"

已经指定 Order ByGroup By 子句,但其中没有 By 关键字。

错误 ID: BC36605

更正此错误

  1. By 关键字添加到 Order ByGroup By 子句中。 以下是一个示例:
Dim customersByCountry = From cust In customers _  
                         Order By cust.Country, cust.City _  
                         Group By CountryName = cust.Country _  
                         Into RegionalCustomers = Group, Count() _  
                         Order By CountryName  

另请参阅