NHibernate versione 1.2.1-debug
mapping files not affected
Microsoft .NET 2.0 c#
I'm using NHIbernate from a little time, i'm porting a project from a custom ORM implementation based on Ibatis.net
First of all a great thank you to all developers: i discovered that Nhibernate is really amazing!!
i'm trying to do something like that:
IQuery q = oz.CreateQuery("select users.Username, roles from Domain.EUser as users inner join users.Roles as roles where users.Username = 'admin'");
q = q.SetResultTransformer(o);
IEnumerable l = q.Enumerable();
Everything OK: only the methods TransformList and TransformTuple on my object (o in this case) will not be called
I take a look at NHibernate source code, and seems that in this point only a call to Session.Find is made, ignoring the IResultTRansformerInterface, but i can be terribly wrong
Someone would help me plz? i need this interface cause i need a way to get the query aliases from a tuple result (and this interface provides me..)
Thanks in advance
|