Using NHibernate Criteria API to select all entities of exact class, but not derived from it
- by SergeanT
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?