EF Core 3.0 SumAsync triggers aggregate function exception
问题 I am in the process of upgrading to EF Core 3.0 and .NET Core 3.0, but some of my queries stopped working. Here is an example: I have a table called Bins , I have another table which is called BinItems , now it has, of course, a one to many relationship. BinItems has a property called Qty , and I want to sum up all the Qty from BinItems based on criteria given by the client in a filter. So here is the code: var query = _binRepository.Table; if (filter.LastRecountDate != null) { query = query