Aggregate function with a join causes client-side evaluation
Posted: Thu 06 Jul 2017 13:07
An entity "Blog" has a Number(28,12) column mapped to a decimal? property.
The following code:
Causes Devart to select all Posts and evaluate the sum client-side instead of using an SQL statement with a SUM and a JOIN.
The following code:
Code: Select all
ctx.Posts.Sum(z => z.Blog.Num)