Hi

I cannot use my own IResultTransformer when the result set only contains one 
column. TransformTuple method expects an array of tuples, but will in this case 
be called with a non array type. Is there any good work around (except adding a 
dummy column)?

Session.CreateQuery(@"select foo.someDate from Foo 
foo").SetResultTransformer(new Bar()).List();

It may be strange that I use a result transformer in this case, but I started 
this way to be able to get "periods" out of a list of dates. And yes - I could 
do this in million different ways, I'm just curious if this is a bug or by 
design?

/Roger

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to