Closed georgeemr closed 4 months ago
Hi, @georgeemr !
Please, provide full example, with entities and db schema.
You can use typecast (Int64)
or (long)
to fix it like here
var query =
from MyModel mm in _context.MyModels
group mm by mm.Name into g
select new { g.Key, Likes = (Int64)g.Sum(o => o.Likes) };
When you call Count, the next exception is thrown.
The table have more than 5 million records.
Tested on 0.0.13.
Appreciate your help.