Linq: OrderBy Sum of multiple fields
问题 I'm trying to create a linq expression whereby I can COUNT the number of event comments as well as SUM the number of Votes. Here's what I've got, but I'm not getting the appropriate results. My example is done in VB.Net, but I can deal with examples in C# as well. Public Function GetHotEvents(ByVal skip As Integer) As List(Of Domain.Event) Implements IEventService.GetHotEvents ''# Our order by sequence just takes the number of votes and multiplies ''# it by two. Then takes the number of