skip to Main Content

A lambda expression with a expression body cannot be converted to an expression tree C# entity framework – Asp.net

I have an entity table with below model public class VulnerabilityImportFileLog { public Collection<Vulnerability> Vulnerability { get; set; } } Trying to return an string value using the select statement in the entity framework query var vulnerabilityImportFileLogSelect = vulnerabilityImportFileLogQuery .Select(vulnerabilityImportFileLog…

VIEW QUESTION

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)…

VIEW QUESTION
Back To Top
Search