Posts by user61857 • 11 points
1 post
-
1
votes1
answer189
viewsQ: LINQ to SQL - Exception when giving sum() in a query that contains another subquery using LINQ
private decimal GetBankAccountCashierTotal() { var company = _context.Company.FirstOrDefault(); return _context.PersonBankAgencyAccount .Where(p => p.PersonID.Equals(company.PersonID)) .Where(c…