Hi, I'm trying to convert the following SQL to LINQ. I've had success with 1 group by variable but couldn't get this to work. Any help would be appreciated.
select ContactID, EventID, Count=count(*)
from ScanLogs s, Exhibits e
where s.ExhibitID = e.ExhibitID
group by s.ContactID, e.EventID
The result looks something like this:
ContactID EventID Count
300009 2000048 2
300009 2000096 1
300036 2000096 1