skip to Main Content

How to optimize this query with EF? – Asp.net

I am trying to optimize this query using EF. This is the query that I had at the beginning. var result = new List<string>(); _dbContext.signumid_organization.ToListAsync().Result.ForEach(organization => { if (CalculateDifferenceBetweenEntriesAndConsummations(null, organization.Id).Result > threshold) { return; } if (!string.IsNullOrEmpty(organization.Admin)) { result.Add(organization.Admin); }…

VIEW QUESTION
Back To Top
Search