From: Michael T. (JIRA) <nh...@gm...> - 2011-04-26 19:03:52
|
NotSupportedException in NewArrayInitExpression ----------------------------------------------- Key: NH-2678 URL: http://216.121.112.228/browse/NH-2678 Project: NHibernate Issue Type: Bug 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 |