|
From: dabuddhaman (JIRA) <nh...@gm...> - 2011-05-04 08:33:54
|
SelectMany with cast throws QuerySyntaxException
------------------------------------------------
Key: NH-2688
URL: http://216.121.112.228/browse/NH-2688
Project: NHibernate
Issue Type: Bug
Components: Linq Provider
Affects Versions: 3.2.0Alpha2
Reporter: dabuddhaman
Priority: Major
Attachments: SelectManyWithCastThrowsQuerySyntaxException.cs
When trying to implement WCF dataservices using NHibernate I had a blocking error.
the call to
http://localhost:32774/NorthWindNHibernateDataService.svc/Orders(4)/OrderLines
generated the following Linq query
db.Orders.Where(element => element.OrderId == 4).SelectMany(element => (IEnumerable<OrderLine>)element.OrderLines)
//{value(NHibernate.Linq.NhQueryable`1[OrderLines]).Where(element => (element.OrderId == 4)).SelectMany(element => Convert(element.OrderLines))}
which throws a QuerySyntaxException
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|