In other words how do you do something simple like this:
select 1
Or more specifically in the particular problem I'm dealing with, something like this:
SELECT (case when exists (<subquery>) then 1 else 0 end) AS result
So in short is there a way in NHibernate to do a select without having it generate the "FROM table" clause?
Thanks