I learning ASP NET CORE and i have to use LINQ
and a have to try very much
it more easy with simple query
but with complex query it's so hard
for example i have a sql query
select Products.ProductId,Products.ProductName,OrderDetails.UnitPrice, sum(OrderDetails.Quantity) as TotalQuantity
from
Products, OrderDetails, Orders
where Products.ProductId = OrderDetails.ProductId
and Orders.OrderId=OrderDetails.OrderId
and Orders.OrderDate between '1/2/2019' and '12/12/2019'
group by Products.ProductId,Products.ProductName,OrderDetails.UnitPrice
how can i query like this in linq (I tried 2 days but.....!) thank for your help!