Joined entity?

On Fri, Mar 13, 2009 at 9:38 PM, epitka <[email protected]> wrote:

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

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