Hello,

following problem concerning the mapping of a 1-n collection.

A company has 1..n users. One of these users is the primary user
(marked by a boolean flag in the user table).

How could I map these two tables to a company class that holds a
collection of users and a direct reference to the primary user?

Company
  - Users : IList<User>
  - PrimaryUser : User
  ...

Any help is appreciated!

Thanx in advance,
Marc


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