假设我有以下 hql:
select cast(coalesce(sum(c.Valoare), 0) as decimal)
from Comision as c
where c.User = :user
有没有办法在 Linq-To-Nhibernate 中写这个?
假设我有以下 hql:
select cast(coalesce(sum(c.Valoare), 0) as decimal)
from Comision as c
where c.User = :user
有没有办法在 Linq-To-Nhibernate 中写这个?