Hi,
Can someone help me out with writing a linq querry to match this sql one ?
- SELECT
- [PID_unique_ID],
- min(AllocationStart) as 'start',
- max(AllocationStart) as 'end'
- ,GETDATE() AS CurrentDateTime
-
- FROM [table].[dbo].[table_name]
- Where table_name.AllocationStart BETWEEN DATEADD(ww,-2,GETDATE()) AND DATEADD(ww,4,GETDATE())
-
- Group by [PID_unique_ID]