All I'm after doing is this:
SELECT CallTypeID, Count(CallTypeID) as NumberOfCalls
FROM [Helpdesk_HR].[dbo].[CallHeader]
WHERE CallHeader.DateOpened <= GETDATE()-7
GROUP BY CallTypeID
in LINQ. But I can't work out a way of doing it and getting it to work. I would use Linqer, but my company won't pay for it at present.
Any help is greatly appreciated as I'm sure the answer is obvious. It's just been one of those days today.