I am trying to execute the following code and am receiving an error
public List GetLoggingData(DateTime LogDate, string title) { var context
You can use this hack:
DateTime startDate = LogDate.Date; DateTime endDate = LogDate.Date.AddDays(1); var query = from t in context.Logs where t.Title == title && t.Timestamp >= startDate && t.Timestamp < endDate select t;