Get Distinct result set from NHibernate using Criteria API?

后端 未结 6 2089
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 02:50

I\'m trying to get distinct results using the Criteria API in NHibernate. I know this is possible using HQL, but I would prefer to do this using the Criteria API, because th

6条回答
  •  日久生厌
    2020-12-03 03:25

    For what it is worth, NHibernate: Optimising Queries with Projections helped me with basically this same issue.

提交回复
热议问题