Using NHibernate Criteria API to select all entities of exact class, but not derived from it
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
8:21 UTC
Read the original article
Hit count: 192
hibernate-criteria
I have two classes: Cat
and DomesticCat
, that extends Cat
.
I want to select all Cat
s, but no oneDomesticCat
. How to do it using NHibernate criteria API?
© Stack Overflow or respective owner