Select all entities of exact class, but not derived from it using NHibernate Criteria API

Posted by SergeanT on Stack Overflow See other posts from Stack Overflow or by SergeanT
Published on 2010-05-28T08:18:58Z Indexed on 2010/05/28 9:51 UTC
Read the original article Hit count: 141

I have two classes: Cat and DomesticCat, that extends Cat.

I want to select all Cats, but no oneDomesticCat. How to do it using NHibernate criteria API?

© Stack Overflow or respective owner

Related posts about c#

Related posts about nhibernate