views:

16

answers:

0

I have a stored proc that returns me a set of data and I am using the DistinctRootEntityResultTransformer to return that data as a tree. You can see an example of this here:

http://ayende.com/Blog/archive/2009/08/28/nhibernate-tips-amp-tricks-efficiently-selecting-a-tree.aspx

Is there a way to specify this in the mapping instead of with code?