‘Date' is not supported in LINQ to Entitiies. Only initializers, entity members, and entity navigation properties are supported
I am trying to execute the following code and am receiving an error public List<Log> GetLoggingData(DateTime LogDate, string title) { var context = new LoggingEntities(); var query = from t in context.Logs where t.Title == title && t.Timestamp == LogDate select t; return query.ToList(); } The error
... [read more]
Submit a review:
Login required.