ASP.NET Core Linq Compare Id and Sum value
I have a problem and unfortunately can not find the solution! This is my database: enter image description here and I would like to store all PaymentSum(double) [PaymentInformation] in the Total (double) [Document]. This is the SQL statement: Select SUM(PaymentSum)…