tag:blogger.com,1999:blog-36201586.post7263656476761987485..comments2023-01-05T21:58:34.019+00:00Comments on Derek says:: Excluding particular derived types in NHibernate queriesDerek Fowlerhttp://www.blogger.com/profile/09963865123124577525noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-36201586.post-86626841667647875502012-10-02T11:23:12.104+01:002012-10-02T11:23:12.104+01:00This helped me.This helped me.Paul T Davieshttps://www.blogger.com/profile/17888686393389073748noreply@blogger.comtag:blogger.com,1999:blog-36201586.post-9557825455133099142012-03-25T19:44:41.614+01:002012-03-25T19:44:41.614+01:00I don't have NH 3.0 to test this but after a q...I don't have NH 3.0 to test this but after a quick look at the documentation and source my best guess would be:<br /><br />sess.QueryOver<Mammal><br />.WhereNot(Restrictions.Eq("class", typeof(DomesticCat)))Derek Fowlerhttps://www.blogger.com/profile/09963865123124577525noreply@blogger.comtag:blogger.com,1999:blog-36201586.post-41283354866193780472012-03-19T14:16:44.704+00:002012-03-19T14:16:44.704+00:00hello,
I need exactly this but for nhibernate Quer...hello,<br />I need exactly this but for nhibernate QueryOver. I was not able to get it working with QueryOver. maybe you can help me out and email me?<br /><br />c.hohmann(at)sycat . comAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-36201586.post-40295702425445493922011-02-22T11:20:46.224+00:002011-02-22T11:20:46.224+00:00Thank you for this code, this is exactly what I wa...Thank you for this code, this is exactly what I was looking for..Moinoreply@blogger.comtag:blogger.com,1999:blog-36201586.post-76148615127804836322008-09-24T14:26:00.000+01:002008-09-24T14:26:00.000+01:00nice, i was just looking for the Crtieria equivale...nice, i was just looking for the Crtieria equivalent of HQL class keyword.Anonymousnoreply@blogger.com