Map it as a Many-To-Many association.

On Jan 8, 2:29 am, Schotime <[email protected]> wrote:
> Our application has some core data, like items.
>
> Users can view these items if they have been assigned them.
> When they click on a check box on the item it is supposed to store
> that they have seen this item and agreed to terms.
>
> Now because each item doesn't belong to a user, and only assigned then
> you can't store the flag on the item whether they have agreed.
>
> So a new table is created that stores these values and the
> corresponding Item id and user id.
>
> How would you deal with the class objects and nhibernate in this
> situation?
> Thanks. Its really been bugging me.
-- 
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