http://nhforge.org/blogs/nhibernate/archive/2008/11/24/populating-entities-with-associations-from-stored-procedures-with-nhibernate.aspx

2009/3/13 epitka <[email protected]>

>
> Can anybody point out some example on how to map this query to one
> entity?
>
>  select
>      Client.*,
>      ClientAcctType.AcctTypeCd as CurrentAccountStatusCode
> from Client
> inner join ClientAcctType on Client.ClientId = ClientAcctType.ClientId
> where Client.ClientId = 6550056
> and getutcdate() between ClientAcctType.EffDt and ClientAcctType.ExpDt
>
>
> >
>


-- 
Fabio Maulo

--~--~---------~--~----~------------~-------~--~----~
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