A
Alex Sauceda
Hi Everyone,
I'm trying to convert this query into LINQ but I don't have idea how to do
it.
Select C.sName as CustomerName, S.sName as Salesperson,
Sum(O.nQty) as Qty, Sum(O.mAmount) as Amount
From tOrders O
Inner Join tCustomer C On C.CustomerID = O.CustomerID
Inner Join tSalesperson S On S.SalespersonID = O.SalespersonID
Group By C.sName, S.sName
I Hope you can help me.
Regards,
Alex
I'm trying to convert this query into LINQ but I don't have idea how to do
it.
Select C.sName as CustomerName, S.sName as Salesperson,
Sum(O.nQty) as Qty, Sum(O.mAmount) as Amount
From tOrders O
Inner Join tCustomer C On C.CustomerID = O.CustomerID
Inner Join tSalesperson S On S.SalespersonID = O.SalespersonID
Group By C.sName, S.sName
I Hope you can help me.
Regards,
Alex