I would like to write the following SQl in NHibernate - Detached Criteria if possible. select * from parent
Is there any way I can filter my NHibernate query on the SubType field before开发者_运维问答 I hit the database by adding an ICriterion to my executing DetachedCriteria?
Anyone know how to convert an ICriteria into a DetachedCriteria.I need to use an existing ICriteria as part of a subquery using: