Aggregate、 Group By或 Group Join 子句已被指定,但没有使用 Into 运算符。 使用 Into 运算符标识要对查询结果应用的聚合函数,并标识要包含分组结果的查询结果类型的成员(通过使用 Group 聚合函数)。
错误 ID: BC36615
更正此错误
- 将
Into运算符添加到Aggregate、Group By或Group Join子句。 以下是一个示例:
Dim orders = From order In orderList _
Order By order.OrderDate _
Group By OrderDate = order.OrderDate _
Into OrdersByDate = Group