This is a super simple (quick and dirty) approach but have you tried
mapping your two objects to the same table?  I did this for a small
project for a User and UserInfo object.  The User object contained full
password and other authentication based information where the UserInfo
object only contained a subset of those same fields.  In my objects my
User object just inherited from my UserInfo object.  I'm sure there is a
better way to do this.  But that is just a quick and dirty way.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Oskar Berggren
Sent: Wednesday, June 16, 2010 4:23 AM
To: [email protected]
Subject: Re: [nhusers] Re: Mapping 2 entities on the same table

It sound like you don't have two entities, but rather one entity and one
"data-object" that is really a limited projection of the full entity.
Does projections solve your issue?

/Oskar



2010/6/16 SuperCiccio <[email protected]>:
> No craziness (I hope!):
> A is the complete business entity
> B is a small info entity used for lists and, for certain reasons, A 
> doesn't extend B.
>
> --
> 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.
>
>

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

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