i have a 2 tables and i do some joins to return a list of records based on some requirement. I am able to write a group by query for my requiremnet and fecth the records,but i need the same in Linq query. my sql query is :
select
MiscServiceDesc,
sum(PaymentAmount),
count(PaymentAmount)
from
MiscTransaction MT
join MiscService MS
on MT.MiscServiceID = MS.MiscServiceID
group by
MiscServiceDesc
where MiscTransaction and MiscService are my two tables.
Any help? Thanks in advance