class from descriptionTue, 07 Feb 2023

the class of the work order with the fields number, month, technological operation, quantity, price, amount, worker calculate the number of technological operations per month for each worker

var operations = from wo in db.workorders join w in db.workers on wo.worker equals w.id group jo by new { w.id, w.name} into g select new { id = g.Key.id, name = g.Key.name, operations = g.Count() };

Questions about programming?Chat with your personal AI assistant