Hi , i'm trying to perform the following query which gets incident records with a specific subject, but an exception occurs : Invalid 'where' condition. An entity member is invoking an invalid property or method.
Query:
var cases = (from incident in serviceContext.IncidentSet where incident.SubjectId.Id.ToString().Equals("952f3039-bdf0-e811-a970-000d3a26cab0") // if the subject is "change email request" select incident).ToList();