【发布时间】:2010-05-11 08:01:07
【问题描述】:
我有以下表结构,我想将查询转换为 NH 条件,但我不确定如何合并正确的“投影”,有人知道怎么做吗?
而我想变成 Criteria 的查询:
select ComponentId from Table_1
where [Name] = 'Contact' or [Name] = 'CurrencyPair'
group by ComponentId
having count(VersionId) = 2
【问题讨论】:
标签: nhibernate criteria projection