Hi Visar

you should try using the Execute()-Callback. It gives you an ISession,
so you can do with it everything you normally do with NH. If you have
ideas on improving querying in AR, I'd be glad to listen.


-Markus

2010/7/12 Visar Uruqi <[email protected]>:
> Hello
>
> I'am new to ActiveRecord but not to Nhibernate, I've done two projects
> with Nhibernate.
> Since I saw a presentation from ayende for Castle ActiveRecord, I  was
> blown away and want to learn all what ActiveRecord has to offer, I've
> started something with ActiveRecord but I'm having a problem when I
> want to return multiple entites, I looked at the documentation
>
> http://www.castleproject.org/activerecord/documentation/v1rc1/usersguide/hql.html#CustomQuery
>
> but still can not figure out how to return multiple entities and
> tranform them via AliasToBean<ReportingObject> ?
> what is the best way to do query's with joins where the result is
> mixed with fields from many entities?
> How to transform them to an object that is not (say) part of the
> DomainModel (not persisted) but just for reporting
> purposes?
>
> IS THERE A BOOK FOR CASTLE ACTIVE RECORD?
> OR A USER MANUAL?
> Where can I find resources for Castle Active Record?
>
> Thank you for your time
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" 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/castle-project-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to