From: Fabio M. (JIRA) <nh...@gm...> - 2011-04-26 19:24:13
|
[ http://216.121.112.228/browse/NH-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo updated NH-2678: ---------------------------- Issue Type: Improvement (was: Bug) > NotSupportedException in NewArrayInitExpression > ----------------------------------------------- > > Key: NH-2678 > URL: http://216.121.112.228/browse/NH-2678 > Project: NHibernate > Issue Type: Improvement > Components: Linq Provider > Affects Versions: 3.1.0 > Reporter: Michael Teper > Priority: Major > > The following LINQ query throws a NotSupportedException in NewArrayInitExpression: > var results = from node in ISession.Query<Node>() > select new[] { node.Manager }.Union(node.Subordinates); > In the example above, Manager is of type Person and Subordinates is a collection of Persons. -- 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 |