CopyPastor

Detecting plagiarism made easy.

Score: 0.8127155303955078; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2020-07-07
by derloopkat

Original Post

Original - Posted on 2009-05-11
by Sreedhar



            
Present in both answers; Present only in the new answer; Present only in the old answer;

var result = await (from a in dbContext.Clients join b in dbContext.Works on a.Id equals b.ClientId where b.Price != 0 group new { a, b } by a.Name into g select new { Name = g.Key, Total = g.Sum(tot => tot.b.Price) }).ToListAsync();;
Ok got this as:
var query = (from t in Transactions group t by new {t.MaterialID, t.ProductID} into grp select new { grp.Key.MaterialID, grp.Key.ProductID, Quantity = grp.Sum(t => t.Quantity) }).ToList();


        
Present in both answers; Present only in the new answer; Present only in the old answer;