It's an *inconvenient* design, in that it requires two steps, and allows for ambiguous data.
One small thing you can to is to create a group.AddUser method, which both adds the user and sets its group. The next step would be to not expose group.Users as a collection (map it to a backing field instead and just expose the property as an IEnumerable<User>), so that its impossible to use Users.Add directly. /G -- 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.
