I have a Logs table created in Windows Azure (WADLogsTable). I need to get a specific column of a given time period. Below is the Linq query I used. Here "Logs" means my own created DTO class. There is no error when building. But when running it gives an error (doesn't show much details).
List<Logs> promotionInfo =null;
promotionInfo = (from e in serviceContext.CreateQuery<Logs>("WADLogsTable")
where e.Timestamp > startDate && e.Timestamp < endDate
select new Logs { Pid= e.Pid }).ToList();
Please show me where is my fault.