I am practicing with LINQ in C# and SQL SERVER and I wanted to write this query in LINQ:
SELECT Employees.FirstName, COUNT(Orders.OrderID) AS Orders
FROM Employees INNER JOIN
Orders ON Employees.EmployeeID = Orders.EmployeeID
GROUP BY Employees.FirstName
But I am not able, neither in from format nor with lambda expression, can you give me a hand please?
I leave you the consultation and the Microsoft doc where you can search for more.