I have a bunch of queries to run, and if any of them return even a single result, I toggle a boolean variable true. If they all return no results, then it stays false.
Right now I'm just picking the smallest column and .Select() ing it, and then counting the results locally. But is there a way to have the database send back a single integer representing the record count of the query through linq-to-nhibernate?
Thanks!