bekomme ich folgende Nhiberante Fehler, führen Sie haben aber keine Ahnung, warum:Kann nicht Nhibernate Abfrage
konnte nicht ausführen Abfrage [wählen attachment0_.AttachmentId als Attachme1_9_, attachment0_.Name als Name9_, attachment0_.IconUrl als IconUrl9_, attachment0_.UserId als UserId9_, attachment0_.AttachmentTypeId als Attachme6_9_, attachment0_.IsDeleted als IsDeleted9_, attachment0_.ArrivalTime als ArrivalT8_9_, attachment0_.LocationId als LocationId9_ von Attachment_Attachment attachment0_ wo attachment0_.DYNAMIC_TYPE = 'Befestigungs' und 1 = 0 ] [SQL: select attachment0_.AttachmentId als Attachme1_9_, attachment0_.Name als Name9_, attachment0_.IconUrl als IconUrl9_, attachment0_.UserId als UserId9_, attachment0_.AttachmentTypeId als Attachme6_9_, attachment0_.IsDeleted als IsDeleted9_, attachment0_.ArrivalTime als ArrivalT8_9_ attachment0_.LocationId, wie LocationId9_ von Attachment_Attachment attachment0_ wo attachment0_.DYNAMIC_TYPE = 'Befestigungs' und 1 = 0]
Update:
innere Ausnahme:
Failed to convert parameter value from a WhereSelectListIterator`2 to a Guid.
Meine Frage:
x => locationsIds.Contains(x.LocationId)
Überprüfen Sie die InnerException –
Dies ist nicht genug Informationen zu gehen, bitte geben Sie mehr ... – Rippo
Fehler beim Konvertieren von Parameterwert von einem WhereSelectListIterator'2 zu einem Guid. –