From: Fabio M. (JIRA) <nh...@gm...> - 2010-07-27 19:46:30
|
[ http://216.121.112.228/browse/NH-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19463#action_19463 ] Fabio Maulo commented on NH-2206: --------------------------------- Roberto, In your case you are using the same syntax used for a cast from Animal item in session.Query<Lizard>() select item you can change your query writing (from item in session.Query<Thing>() select item).ToList<Thing>(); Diego, I would know why in your opinion this issue is critical; I'm sure you are not talking about the query you send us because using session.Query<Animal>() you have all you need. > Cast is not supported by the new Linq provider > ---------------------------------------------- > > Key: NH-2206 > URL: http://216.121.112.228/browse/NH-2206 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha1 > Reporter: Diego Mijelshon > Priority: Critical > Attachments: ResultCastTest.cs > > > Executing the attached test results in the following exception: > System.NotSupportedException: The CastResultOperator result operator is not current supported > This works without problems with the old provider. -- 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 |