gert wrote:
I would think ity is correct: one element in side list, which stores the returned value (0 in You example).
But I do not understand, how You intend to cast the rowcount into cat?
Gert
Thanks, yeah the confusion for me, is in the word "stores". How or what does it store? I think the people who write the doco, assume you already know, somehow. So, I don't have to or particularly want to cast the rowcount into Cat, I just wanted to understand what this IList returned. Was it Cats or int's or what?
Looking back after seeing the answer, it's because Hibernate is so generically 'capable' that specific tasks are not so obvious. I have to call UniqueResult() on the return value and cast it to an int.